http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix describes how to add a messageformat prefix that allows you to do this:

  ${messageformat:key,value1,value2}

or this:

  <t:component parameter="messageformat:key,value1,value2"/>

in your templates.

It uses org.apache.tapestry.ioc.Messages#format with the given key and value(s) to return a localized, formatted message.

The values can be literal if enclosed in single quotes or use any other binding prefix to retrieve a value - default prefix is prop.

Comments and suggestions for improvement are welcome.

-Filip

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to