[TYPO3-mvc] Fluid: form.select view helper and empty default item

Laurent Foulloy yolf.typo3 at orange.fr
Fri Aug 6 15:15:31 CEST 2010


I am trying to use a selector with a 1,n relation. I have added an 
"empty" option in the selector with a value equal to 0. When this option 
is selected, the value is not stored in the database.

The problem comes from the property mapper which cannot retreive the 
record in the foreign table when the uid = 0. In this case, the 
transformObject method keeps the existing object.

Any idea to solve this problem ?


More information about the TYPO3-project-typo3v4mvc mailing list