[TYPO3-mvc] rewritten property manager and multiple objects in one form
Stefano Cecere
scecere at krur.com
Tue Oct 16 14:44:30 CEST 2012
Hi Arjien
i'm really curious: where did you find docs about the New Property
Mapper? apart
http://flow.typo3.org/documentation/guide/partiii/propertymapping.html i
didn't find anything!
ps: how is it that you and Henjo Hoeksma have such similar surnames!?!?
incredible! :)
ciao
stefano
On 16/10/12 14:24, Arjen Hoekema wrote:
> 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
>
--
-- --- ----- -------
Stefano Cecere
KRUR studio - http://krur.com
More information about the TYPO3-project-typo3v4mvc
mailing list