I'm writing a few static methods to use as taglib functions in my JSPs, in
particular right now I'm writing a method to return an internationalised string
from the resource bundles for use such as this:
<a href="/somewhere.html"
title="${adam:message('trading.catalog.goSomewhere')}">
Somewhere
</a>
For this example I need access to the locale in use.
I suspect that my options are to tap into the S2 framework somewhere or to set
up a filter to store this stuff in my own ThreadLocal (which wouldn't tie me
into any version of struts).
Any thoughts on how to achieve this?
Regards
Adam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]