Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by FilipSAdamsen: http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatPrefix ------------------------------------------------------------------------------ ${messageformat:key,value1,value2} or <t:component t:parameter="messageformat:key,value1,value2"> }}} + Where the component's message catalog contains: + {{{ + key = This is the first value: %s, it's a string. This is the second value: %d, it's a number. + }}} + First create the class !MessageFormatBindingFactory: - {{{ public class MessageFormatBindingFactory implements BindingFactory { @@ -49, +53 @@ } }}} - And then contribute it to the BindingSource configuration: + And then contribute it to the !BindingSource configuration: - {{{ public static void contributeBindingSource(MappedConfiguration<String, BindingFactory> configuration, BindingSource bindingSource) { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]