[TYPO3-mvc] Tx_Extbase_MVC_Exception_InfiniteLoop
Marc Bastian Heinrichs
typo3 at mbh-web.de
Tue Jan 3 17:51:59 CET 2012
Hey,
Am 03.01.12 17:38, schrieb Claus Due:
> I think I spotted the problem:
>
>> <f:form.hidden property="program" value="{program.uid}" />
>
> Should be:
>
>> <f:form.hidden name="program" value="{program.uid}" />
>
>
> Because if "property" is used the field name will be tx_myext[newOrder][program]
> instead of the proper tx_myext[program]. If you also need to fill the
> "program" property on newOrder you need both fields (or
> $newOrder->setProgram($program) in createAction).
Tx_TravelPrograms_Domain_Model_Order has a property program.
Best
Marc Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list