[TYPO3-mvc] Fluid - Setting an attribute in viewHelper by condition
Michael Feinbier
mf at hdnet.de
Fri Aug 20 14:00:46 CEST 2010
Hi,
Am 19.08.10 15:35, schrieb Daniel Lienert:
> <f:form.checkBox name="name" value="value"
> additionalAttributes="{f:if(condition: {object.submitOnChange} then:
> '{onchange : 'submit()'}')}" />
you missed some commas here. Try:
<f:form.checkBox name="name" value="value" additionalAttributes="{f:if
(condition: '{object.submitOnChange}', then: '{onchange :
'submit()'}')}" />
Hth
Micha
More information about the TYPO3-project-typo3v4mvc
mailing list