[TYPO3-mvc] How to save IRRE Values?

Henjo Hoeksma me at henjohoeksma.nl
Tue Apr 19 00:37:56 CEST 2011


On 2011-04-18 07:21:06 +0200, Fabian Fisahn said:

> Good morning Franz,
> 
> On 18.04.11 00:49, Franz Koch wrote:
>> Hey,
>> 
>>> I need to save some values of type Tx_Extbase_Persistence_ObjectStorage
>>> to my database. In the Backend it works with IRRE.
>>> 
>>> An example:
>>> I have products with different stores and deliver dates
>>> 
>>> <f:for each="{product.stores}" as="store">
>>> <f:form.textfield property="??" value="{store.name} />
>>> <f:form.textfield property="??" value="{store.deliverDate} />
>>> </f:for>
>>> 
>>> How can I add/update these values to the database if I update the
>>> product object?
>> 
>> It's possible, but currently you have to take care of the correct field
>> naming, __identity field etc. yourself and can't use the "property"
>> attribute. I already posted some examples for this on this list - would
>> you mind searching for them? If you don't find them drop a note and I'll
>> be of service :)
> 
> I searched for a while before and after your answer but didn't find a
> meaningful post with an answer.
> 
> Could you tell me the subject of thread where you posted the examples?
> 
> Thanks
> Fabian

Maybe the thread 'using 1 form for multiple objects' can be of help.

Henjo



More information about the TYPO3-project-typo3v4mvc mailing list