[TYPO3-mvc] Nested viewhelpers
Michael Knoll
mimi at kaktusteam.de
Thu Dec 31 13:08:53 CET 2009
Hey Thomas & Sebastian,
thanks a lot for your help - I will immediately test it!
Greetings,
Michael
Sebastian Kurfürst schrieb:
> Hey,
>
> Am 31.12.09 01:58, schrieb Thomas "Thasmo" Deinhamer:
>> You could try:
>> <f:form.submit value="{f:translate(key: 'general.submit')}" />
> Yes, I'd suggest that syntax as well.
>
>> Maybe also this works, but I'm not sure:
>> {f:form.submit(value: '{f:translate(key: 'general.submit')}')}
> Yep, it works.
>
>> Exactly I don't know, but you can use every ViewHelper with tags like
>> <f:form.submit/> or you could use it with curly braces {f:form.submit}.
> Yes, you can use every ViewHelper in both syntaxes. However in case of
> no arguments, make sure to write: {f:form.submit()} (so you NEED the
> braces), else fluid cannot distinguish between a single-element array
> and a ViewHelper.
>
> Greets,
> Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list