Re: localization of keys returned as properties in T5

2008-02-07 Thread Filip S. Adamsen
Have a look at http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix - you'd have to change the messageKey String to a Binding and resolve that in the MessageFormatBinding, but then it would basically do what you're asking for. -Filip Brian Long skrev: Sorry about the

Re: localization of keys returned as properties in T5

2008-02-07 Thread Howard Lewis Ship
I hope to extend the property expression language ASR (after stable release) to allow more OGNL type things (such as passing parameters to methods). This could be accomplished as well by creating a custom binding prefix, i.e., "indirect-message:sender.address.addressLine1Label" which would resolve

Re: localization of keys returned as properties in T5

2008-02-07 Thread Josh Canfield
It seems a little strange to me to store resource keys in your objects... but I suppose I could imagine a situation where that'd be the most convenient thing to do. I don't believe there is a binding to fit your needs built-in, but it's something you could add. Check out http://wiki.apache.org/tap

localization of keys returned as properties in T5

2008-02-07 Thread Brian Long
Sorry about the ambiguous title, but I'll try to explain what it is I'm trying to achieve . . . in T4 it's possible to have properties/keys in an object that can be localized in the html file using the following expression AddressLine1 tapestry will resolve what the contents of "sender.address.a