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]