You can use your HiveMind Messages object to do the i18n/formatting. It will automatically use the correct locale.
-----Original Message----- From: Norbert Sándor [mailto:[EMAIL PROTECTED] Sent: Monday, March 13, 2006 6:45 AM To: Tapestry users Subject: Re: Inject locale I think that the ThreadLocale (http://jakarta.apache.org/hivemind/hivemind/ThreadLocale.html) service is for this purpose. Regards, Norbi Martin Strand wrote: > Hi. > Newbie question... I wanna do some extra date formatting ("today", > "yesterday" and similar) in a HM service. > How do I inject the Locale for the current request? > Does this formatting service need to be model="threaded" or will > HiveMind handle that automagically? (since I'm injecting the current > request's Locale, which is unique to each thread) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 268.2.1/279 - Release Date: > 2006.03.10. > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]