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,
I don't think so, at least not in ordinary Tapestry. For your example, I'm
not sure that even OGNL would help out.
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
-