[TYPO3-mvc] [TYPO3-extbase-kickstarter] RadioViewHelper and checked state on property

Peter Niederlag typo3-list at niekom.de
Sat Feb 5 15:34:56 CET 2011


Hi,

Am 04.02.2011 11:03, schrieb Marc Bastian Heinrichs:
> Hey Peter,
[..]
> <f:form.radio name="registrationRequired" value="1"
> checked="{XYZ.registrationRequired} == 1" />

Thx. :->

This only works as long as you are sure on the name of the object that 
is bound to the form. If you use a partial within different 
forms(newAction/editAction) with different bound objects 
("newObject"/"editObject") this approach won't work. And that's where my 
troubles started... Obviously one could take care of providing always 
the same object/name to the partial, which seems wise anyway.

Greets,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list