[TYPO3-mvc] Nesting Fluid-Tags

Susanne Moog s.moog at neusta.de
Wed May 5 13:58:18 CEST 2010


Hi,

Am 05.05.2010 13:42, schrieb Bernhard Kraft:
> Hello !
>
> I have a question regarding fluid templates. If I have an input box like
> the following:
>
> <f:form.textbox property="captcha" value="Ziffern und Buchstaben" />
>
> I would like to replace the string "Ziffern und Buchstaben" by an
> LL-Label. Usually one can achieve this by using the <f:translate /> tag.
> But nesting both tags like in this example:
>
> <f:form.textbox property="captcha" value="<f:translate
> key="LLL:EXT:voegele_card/locallang.xml:current_balance_eur" />" />
>
> does not work. So can I somehow place an LLL label into an
> argument/property of a fluid tag?

have you tried the short form:

<f:form.textbox property="captcha" value="{f:translate(key : 'yourlabel')}">

hth,

Susanne


More information about the TYPO3-project-typo3v4mvc mailing list