webwork/src/main/webwork/action ActionSupport.java,1.28,1.29

[email protected] Sat, 18 May 2002 19:36:17 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/main/webwork/action
In directory usw-pr-cvs1:/tmp/cvs-serv17989

Modified Files:
	ActionSupport.java 
Log Message:
remove attribute if it is handled
rename attribute to proper package name

Index: ActionSupport.java
===================================================================
RCS file: /cvsroot/webwork/webwork/src/main/webwork/action/ActionSupport.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- ActionSupport.java	18 May 2002 18:31:52 -0000	1.28
+++ ActionSupport.java	19 May 2002 02:36:15 -0000	1.29
@@ -86,9 +86,11 @@
       {
          //check to see if there already is a result exception.
          //if so, add its message as an error message and throw it
-         ResultException re = (ResultException) ActionContext.getContext().getRequest().getAttribute("webwork.result.exception");
+         ResultException re = (ResultException) ActionContext.getContext().getRequest().getAttribute("webwork.action.ResultException");
          if (re != null) {
             addErrorMessage(re.getMessage());
+            //remove it since it has been handled
+            ActionContext.getContext().getRequest().removeAttribute("webwork.action.ResultException");
             throw re;
          }
 



_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/