[TYPO3-mvc] creating two related objects in one form

Henjo Hoeksma me at henjohoeksma.nl
Sun Nov 7 20:14:19 CET 2010


On 2010-11-07 14:40:31 +0100, Franz Koch said:

> Hey Sebastian,
> 
>>> Actually I'm not sure how valueObjects behave here as they don't have a
>>> identity from a OO point of view, but of course they have a database
>>> identifier. IIRC you don't need the identity field containing the UID in
>>> that case, but I'm not entirely sure - never had that situation.
>> Value Objects do not need an identity, as they are found automatically
>> by the persistence system if they already exist.
> 
> thanks for clarification - then I remembered correctly. Good to see 
> that my brain is still working ;)

Hi all of you,

great to check back after a computerless Sunday to see so many useful 
responses. You guys rock!

With this my understanding grew and I managed a working solution!

Thanks a lot!

Henjo



More information about the TYPO3-project-typo3v4mvc mailing list