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

Henjo Hoeksma me at henjohoeksma.nl
Wed Oct 17 09:21:47 CEST 2012


Hi Arjen, Stefano,

no I didn't - for the reason Stefano mentions: documentation (okay, and lack of time to dive into it ;-) )

Thanks. I will take a look on the allowModificationForSubProperty !

@Stefano: I guess because we both originate somewhere around the same area in the Netherlands (north...) 

Kind regards,

Henjo

On Oct 16, 2012, at 2:44 PM, Stefano Cecere <scecere at krur.com> wrote:

> 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
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list