[TYPO3-mvc] rewritten property manager and multiple objects in one form

Arjen Hoekema arjenhoekema at gmail.com
Tue Oct 16 14:24:30 CEST 2012


Hi Henjo,

Did you tell the propertymapper that creation/modification of the 
subproperties is allowed:

protected function initializeCreateAction() {
 
$this->arguments['person']->getPropertyMappingConfiguration()->allowCreationForSubProperty('address');
$this->arguments['person']->getPropertyMappingConfiguration()->allowCreationForSubProperty('address.first');
}

Same goes for "allowModificationForSubProperty" when doing updates with 
nested objects.

Kind regards,

Arjen Hoekema



More information about the TYPO3-project-typo3v4mvc mailing list