Re: Rendering messages in template

2008-10-26 Thread Davor Hrg
you can make a binding prefix to handle this, but syntax would have to be without ${ ${messages:${step.stepName}-step} something like ${messages:prop:step.stepName+-step} look at: http://wiki.apache.org/tapestry/Tapestry5HowTos under binding prefixes Davor Hrg On Fri, Oct 24, 2008 at 5:33 PM,

Re: Rendering messages in template

2008-10-24 Thread Szemere Szemere
I don't think so, at least not in ordinary Tapestry. For your example, I'm not sure that even OGNL would help out.

Rendering messages in template

2008-10-24 Thread Ivan Dubrov
Is there a way instead of writing Page.tml: Step title: ${stepTitle} Page.java: public String getStepTitle() { return messages.get(step.getStepName() + "-step"); } write something like (does not work): ${messages:${step.stepName}-step} ? -- WBR, Ivan S. Dubrov -