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 2003/04/15 19:42:25 UTC
DO NOT REPLY [Bug 19040] New: -
Locale in default module defaults to false / controller config setting is ignored.
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=19040>.
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=19040
Locale in default module defaults to false / controller config setting is ignored.
Summary: Locale in default module defaults to false / controller
config setting is ignored.
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Controller
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: chris.jones@valtech.com
Setting the locale attribute in a controller element in struts-config.xml has
no effect. The documentation states that locale should default to true (for
both the controller element and the init-param in web.xml, but locale for a
default module defaults to false.
This appears to be a transitional bug due to temporary backwards-compatibility
code. The defaultControllerConfig() method in ActionServlet effectively
overrides and ignores any settings in the struts-config controller element.
Lines 1453 and 1458 cause locale to default to false.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org