Re: Alternative to OutputLocale

2008-05-12 Thread Filip S. Adamsen
Hi, How about ${format:date-format=object.date} where date-format is picked up from the message catalogue? That's only one of many exciting possibilities with the format binding prefix: http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix I use it like that all the tim

Alternative to OutputLocale

2008-05-12 Thread Toby Hobson
Hi I was wondering if there is a way to display a localized date using an expansion, my idea is something like this: tml contains an expansion which references a Date object e.g. ${currentDate). Tapestry looks up the format for a date in the messageCatalogue and spits out the nicely formatted