[TYPO3-mvc] Cascading ViewHelper

Tim Schoch | GSTALTIG tim.schoch at gstaltig.ch
Wed Jan 12 21:53:27 CET 2011


Thanks! I'll try it tomorrow at work. Is there a special idea behind this behaviour? IMO it would be nice if it would work
without the escaping oder double quotes =]

Gruess Tim

GSTALTIG GMBH / www.gstaltig.ch
Sonnenhofstr. 13 / 6020 Emmenbrücke
tim at gstaltig.ch / 076 488 24 97

-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Franz Koch
Gesendet: Mittwoch, 12. Januar 2011 13:58
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] Cascading ViewHelper

Hey,

>    {f:format.date(date:filter.end,format:'{f:translate(key:'format.date')}')}

this is almost correct, but you forgot to escape the quotes from the 
"key" value:

{f:format.date(date:filter.end,format:'{f:translate(key:\'format.date\')}')}

That should work.
-- 
kind regards,
Franz Koch
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc



More information about the TYPO3-project-typo3v4mvc mailing list