craigmcc 2002/10/12 18:33:39 Modified: src/share/org/apache/struts/util RequestUtils.java Log: Make getActionMessages() consistent with getActionErrors() with respect to searching all scopes instead of only request scope. Revision Changes Path 1.58 +5 -5 jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java Index: RequestUtils.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/RequestUtils.java,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- RequestUtils.java 13 Oct 2002 01:08:25 -0000 1.57 +++ RequestUtils.java 13 Oct 2002 01:33:38 -0000 1.58 @@ -1504,7 +1504,7 @@ ActionMessages am = new ActionMessages(); - Object value = pageContext.getAttribute(paramName, PageContext.REQUEST_SCOPE); + Object value = pageContext.findAttribute(paramName); try { if (value == null) {
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>