[TYPO3-mvc] Edit of @lazy property

Xavier Perseguers typo3 at perseguers.ch
Tue Nov 30 13:59:58 CET 2010


Hi,

I have an edit method which allows me to change the billing contact of a 
company. This contact is a @lazy loaded Person object.

My edit form is as follows:

<f:form.select id="billingContact" property="billingContact" 
value="{company.billingContact}" options="{company.persons}" 
optionLabelField="name" />

When I show the form, I have first person in the list selected (wrong!)

When I remove the @lazy attribute on billingContact in Company model, I 
get the valid person selected.

Is this a known issue? Already fixed? Using slightly patched version of 
Extbase in 4.4 (to have fix of caching issue).

Cheers
Xavier



More information about the TYPO3-project-typo3v4mvc mailing list