The standalone library would be resolver strategies, but S1 and S2 would
need their own adapter. For S1, the adapter is the SelectLocale command,
which exposes it for Action.getLocale().
Since I've been busy getting the next 1.3 GA out the door, I haven't had
time to look at this 1.4 feature again. But I will within this month.
Paul
Niall Pemberton wrote:
I took a quick look at XWork - they already have a "LocaleProvider"
interface which defines a single getLocale() method:
http://tinyurl.com/yqmlv3
Paul's solution (based on some Spring classes) is tied to the webapp
context with his equivalent "LocaleResolver" interface defining two
methods:
Locale resolveLocale(HttpServletRequest request);
void setLocale(HttpServletRequest request, HttpServletResponse response,
Locale locale);
Niall
On 3/2/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote:
2007/3/2, Niall Pemberton <[EMAIL PROTECTED]>:
> If you wanted to start something - any Apache committer can have
> access to the Commons Sandbox - I think you just have to ask.
Something like "commons-locale"?
I feel that Tiles won't use commons-resources current code, but only
the new locale resolution code, so from my POV it is the same to wake
commons-resources up or create a new sandbox project.
In the latter case, anyway, I will let Paul make the proposal, since
it is his idea, I won't steal his fun :-)
Antonio
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]