struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java
Date Sun, 13 Oct 2002 01:33:39 GMT
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:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message