cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10559] - [PATCH] parseLocale in I18nUtils.java
Date Tue, 09 Jul 2002 15:02:19 GMT
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 michael.enke@wincor-nixdorf.com  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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message