DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10559

[PATCH] parseLocale in I18nUtils.java





------- Additional Comments From [EMAIL PROTECTED]  2002-07-09 15:02 
-------
> If you are using LocaleAction to determine the user's locale then your patch
won't 
> help. LocaleAction uses request.getLocale() which returns Locale object. All
the 
> parsing is performed by the servlet container and we have no control over it.

LocaleAction uses I18nUtil.parseLocale(ls) immediately after
request.getLocale(). (see method act)
I find it more useful not to have a method getLocaleAttribute which returns
a String but one which returns a Locale.
What do you think?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to