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=18365>.
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=18365

Changes in the retrieveUserLocale of RequestUtils

           Summary: Changes in the retrieveUserLocale of RequestUtils
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I saw in the Class org.apache.struts.util.RequestUtils that in the verison 1.90 
the method retrieveUserLocale was changed and i suggest a other behavior:
1. look for the locale in the session
2. look for the locale in the request under the name Globals.LOCALE_KEY or from 
the parameter.
3. look in the request with request.getLocale

In the case the application developer don't want to use the session and want to 
control independent of the request header "accept-language" the language of the 
page ( e.g. bean:write ).

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

Reply via email to