content="${format:date=YYYY-MM-DD hh:mm:ss 'UTC' Z,someDate}
On Wed, 14 May 2014 09:09:25 -0300, Chris Poulsen <mailingl...@nesluop.dk> wrote:
You probably do not want the ${ } as that converts its contents into a string.
The original poster didn't describe what he meant by "not work". Guys, please avoid saying something "doesn't work" without further details. It's too vague.
What I guess is the problem with the template snipped above is the lack of a 'format' binding prefix. There's an easy solution, which is even more recommended because it doesn't put logic in the template:
content="${formattedDate}" public String getFormattedDate() { return // whatever you want. } -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org