dmkarr 2003/01/29 22:22:01 Modified: src/share/org/apache/struts/taglib/html MessagesTag.java Log: Changed "bundle" default from "Globals.MESSAGES_KEY" to "null". This was only a problem when the correct MessageResources was in request scope, not in application scope, which happens when using sub-modules. If changed to null, the call to RequestUtils.message() correctly gets the request-scope bundle instead of the application-scope bundle. Revision Changes Path 1.8 +5 -5 jakarta-struts/src/share/org/apache/struts/taglib/html/MessagesTag.java Index: MessagesTag.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/MessagesTag.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- MessagesTag.java 8 Dec 2002 06:54:51 -0000 1.7 +++ MessagesTag.java 30 Jan 2003 06:22:01 -0000 1.8 @@ -112,7 +112,7 @@ /** * The servlet context attribute key for our resources. */ - protected String bundle = Globals.MESSAGES_KEY; + protected String bundle = null; /** * The session attribute key for our locale.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]