I've been trying to implement what these posts talk about but it has no effect.
http://www.silverstripe.org/data-model-questions/show/6128
http://www.silverstripe.org/customising-the-cms/show/8236
Even basic validation using the following does nothing.
public function getCMSValidator() {
return new RequiredFields(array('Title', 'Expires', 'Photo', 'Description', 'Weight', 'Price', 'Savings', 'Code'));
}
When I try to add a new popup class I get this error
Class 'MyDataObjectManager_Popup' not found in /Applications/MAMP/htdocs/Gala/Gala/trunk/cms/sapphire/forms/ComplexTableField.php on line 600
I'm using
MyDOM->popupClass = 'MyDataObjectManager_Popup';