[TYPO3-mvc] checkbox problem

Valentin Zickner typo3 at joan.coderworks.de
Wed Aug 17 11:09:52 CEST 2011


Hi Christian,

 > Am 12.08.2011 08:51, schrieb Pankaj Lele:
 >> Try this one<f:form.checkbox class="checkbox" property="emailVisible"
 >> value="1" condition="{object.emailVisible == 1}" />
 > In the fluid version I use (1.3.0), there is no argument "condition"
 > registered for the checkbox viewhelper, thats why I get an exception.
but there is a parameter called "checked".
Try this one (untested):
<f:form.checkbox class="checkbox" property="emailVisible"
  value="1" checked="{object.emailVisible == 1}" />

regards,

Valentin


More information about the TYPO3-project-typo3v4mvc mailing list