Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/JS2-116 Here is an overview of the issue: --------------------------------------------------------------------- Key: JS2-116 Summary: JSTL fmt tag not picking up locale from request in Tomcat 5.0 Type: Bug Status: Unassigned Priority: Major Project: Jetspeed 2 Components: l10n Fix Fors: 2.0-a1 2.0-dev/cvs Versions: 2.0-a1 2.0-dev/cvs Assignee: Reporter: Scott T Weaver Created: Wed, 8 Sep 2004 12:50 PM Updated: Wed, 8 Sep 2004 12:50 PM Description: The JSTL fmt tag is not picking up locale from the J2 request wrappers in Tomcat 5.0. It is always using the english default. This can be seen in the PickANumberPortlet when changing the locale via the LocaleSelectorPortlet. To get l10n to work I had to add this line to the pickanumber.jsp page: ... <fmt:setLocale value="${pageContext.request.locale}" /> ... This is not a solution but does verify that, when the locale is correctly set, the correct bundle is used. Since JSTL is part of the 2.4 servlet spec, I have a feeling tomcat is setting the locale much further up in the request. I say this because I can change what language my browser sends and the l10n works fine without the fmt:setLocale tag being used. A similar issue is documented on the struts list here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg05838.html --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
