[TYPO3-mvc] Extbase PropertyMapper in 1.2.0 (TYPO3 4.4)
Franz Koch
typo3.RemoveForMessage at elements-net.de
Thu Feb 17 09:48:12 CET 2011
Hey Thomas,
>> it can update multiple objects using a single form. I'm using it all the
>> time. The only thing you have to take care of if you allow to edit
>> multiple objects (coming from a objectStorage) is that you currently
>> have to add the __identity field manually in your template - that's it.
>> Haven't I showed you a example in one of your posts?
>
> I do it also like that, but it doesn't work.
> The template is here:
> http://forge.typo3.org/projects/extension-hype_store/repository/changes/trunk/Resources/Private/Partials/Cart/Full.html
>
>
> Not sure what's wrong. Any ideas?
Although your template looks good and I think it should work (if not
it's probably a bug somewhere), but probably the problem is, that the
form itself is not bound to any object and extbase thus doesn't have any
reference for the initial objectStorage. I suppose your cartItems belong
internally also to a cart object - could you please test it by binding
the form to the cart object?
--
kind regards,
Franz Koch
More information about the TYPO3-project-typo3v4mvc
mailing list