You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/07/11 13:26:41 UTC

DO NOT REPLY [Bug 30034] - Locale feature is unsutisfuctory

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=30034

Locale feature is unsutisfuctory





------- Additional Comments From niallp@apache.org  2004-07-11 11:26 -------
I think you're mistaken on this.

Firstly Struts stores the locale in the user's session. The default 
configuration is that it picks this up from the Request it there isn't already 
one in the session and it has been set in the Request. However you can change 
the configuration of Struts so that it doesn't do this at all by setting 
the "locale=false" on the <controller> element in the struts-config.xml.

If you want your own custom locale look-up processing implementation then the 
best way would be to override the processLocale() method in the 
RequestProcessor. If you want Struts to be changed to work differently maybe 
you could elaborate more specifically how the locale look-up should work - 
example code would be good.

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org