[TYPO3-mvc] Nested viewhelpers

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Thu Dec 31 01:58:57 CET 2009


You could try:
	<f:form.submit value="{f:translate(key: 'general.submit')}" />

Maybe also this works, but I'm not sure:
	{f:form.submit(value: '{f:translate(key: 'general.submit')}')}

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}.

Greetings,
Thomas


Michael Knoll schrieb:
> Hi list,
> 
> how can I correctly do something like this:
> 
> <f:form.submit value="<f:translate key="general.submit" />"/>
> 
> What I think could be logical would be
> 
> <f:form.submit><f:translate key="general.submit" /></f:form.submit>
> 
> Is there any solution yet?
> 
> 
> Thanks for your answers!
> 
> 
> Greetings
> 
> Michael


More information about the TYPO3-project-typo3v4mvc mailing list