struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-struts/src/share/org/apache/struts/config ConfigHelper.java
Date Sat, 16 Aug 2003 18:38:56 GMT
dgraham     2003/08/16 11:38:56

  Modified:    src/share/org/apache/struts/config ConfigHelper.java
  Log:
  Replaced ActionError with ActionMessage.
  
  Revision  Changes    Path
  1.10      +6 -6      jakarta-struts/src/share/org/apache/struts/config/ConfigHelper.java
  
  Index: ConfigHelper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/config/ConfigHelper.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ConfigHelper.java	8 Aug 2003 23:26:36 -0000	1.9
  +++ ConfigHelper.java	16 Aug 2003 18:38:56 -0000	1.10
  @@ -71,12 +71,12 @@
   import javax.sql.DataSource;
   
   import org.apache.struts.Globals;
  -import org.apache.struts.action.ActionError;
   import org.apache.struts.action.ActionErrors;
   import org.apache.struts.action.ActionForm;
   import org.apache.struts.action.ActionFormBean;
   import org.apache.struts.action.ActionForward;
   import org.apache.struts.action.ActionMapping;
  +import org.apache.struts.action.ActionMessage;
   import org.apache.struts.action.ActionMessages;
   import org.apache.struts.upload.MultipartRequestWrapper;
   import org.apache.struts.util.MessageResources;
  @@ -743,7 +743,7 @@
           }
   
           while (reports.hasNext()) {
  -            ActionError report = (ActionError) reports.next();
  +            ActionMessage report = (ActionMessage) reports.next();
               message = getMessage(report.getKey(), report.getValues());
               if (message != null) {
                   results.append(message);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Mime
View raw message