[TYPO3-mvc] edit multiple objects in one form

Claus Due claus at wildside.dk
Thu Mar 8 10:32:02 CET 2012


Hi Johannes,

> But if I try to make
> an addProperty I get an  "Call to a member function attach() on a
> non-object"-error.

You must initialize your ObjectStorage-type properties in your Model's constructor.

Cheers,
Claus


More information about the TYPO3-project-typo3v4mvc mailing list