Understanding dawned about 5 minutes after submitting the message - always the way. You can't override bindings because MappedConfiguration.add() throws an exception if the key is not unique. Have you figured out how to do this from the T5 source code, or is there some documentation I've missed?
Andy Blower wrote: > > Filip - that looks really good work. > > I didn't realise new bindings can be created. I'm surprised that you're > using %d, %s etc rather than the standard {0} {1} ResourceBundle > parameters. To me it would be nicer expressed like this: (can you > overload bindings?) > > ${message:key(param0,param1,...,paramN)} > > The other thing is can the params be the strings from other messages? This > is something I've done a fair amount in JSP & JSTL to reduce duplication > of translated text in properties files. > > I'm really not quite sure what "making the message key itself a binding" > would mean or how it would help, sorry if it's obvious but I'm very new to > Tapestry. I'll certainly not be doing it myself any time soon, I'm just > evaluating the framework at the moment. > > Thanks, > > Andy. > > -- View this message in context: http://www.nabble.com/T5%3A-Expansions---prefixes-tp16448078p16467366.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]