[TYPO3-mvc] create more than one object in only one fluid form

Stephan Reuther - development.IT s.reuther at internet-chemnitz.de
Wed Jul 22 14:32:35 CEST 2009


hi, 

i've got a problem with new objects in fluid forms. 

to describe the environment: 
i am writing an extbase/fluid-based extension to order/book some items. 
so i have got an order-object with an class parameter "ordereditems" as 
Tx_Extbase_Persistence_ObjectStorage. an "ordereditem" consists of an 
item object and an amount how many times this item is ordered. 

i need one form that creates a new order (no problem with <f:form object={newOrder} [...]>) 
AND a few other new objects (ordereditems). 

has got anybody an idea to solve this problem. should i register all 
the new ordereditems as objects in <f:form>-tag? and how, if that would 
be the solution? 

btw: thats the first major problem i have with fluid. apart from that i really 
like fluid's tight and self-explanatory code. great!!! 

cheers, 

stephan 


More information about the TYPO3-project-typo3v4mvc mailing list