[cvs] expresso commit by ppilgrim: `ActionError' IS deprecated and
should be
JCorporate Ltd
jcorp at jcorporate.com
Fri Jan 14 19:30:49 UTC 2005
Log Message:
-----------
`ActionError' IS deprecated and should be replaced by
`ActionMessage'. ActionErrors IS NOT deprecated. For more info surf
to `http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 '
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib:
ErrorMessageBundleTag.java
Revision Data
-------------
Index: ErrorMessageBundleTag.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/ErrorMessageBundleTag.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/ErrorMessageBundleTag.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/ErrorMessageBundleTag.java -u -r1.15 -r1.16
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/ErrorMessageBundleTag.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/ext/taglib/ErrorMessageBundleTag.java
@@ -67,7 +67,7 @@
import com.jcorporate.expresso.core.controller.ErrorCollection;
import com.jcorporate.expresso.core.i18n.Messages;
import com.jcorporate.expresso.ext.struts.taglib.ControllerUtils;
-import org.apache.struts.action.ActionError;
+import org.apache.struts.action.ActionMessage;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.jsp.JspTagException;
@@ -175,12 +175,12 @@
(HttpServletRequest) pageContext.getRequest(),
"errors.header", new Object[]{}));
}
- ActionError oneError = null;
+ ActionMessage oneError = null;
Iterator iter = iter = errorCollection.get();
while (iter.hasNext()) {
- oneError = (ActionError) iter.next();
+ oneError = (ActionMessage) iter.next();
try {
Stack s = myResponse.getSchemaStack();
More information about the cvs
mailing list