empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r692848 - /incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
Date Sun, 07 Sep 2008 13:39:45 GMT
Author: doebele
Date: Sun Sep  7 06:39:45 2008
New Revision: 692848

URL: http://svn.apache.org/viewvc?rev=692848&view=rev
Log:
EMPIREDB-11

Modified:
    incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java

Modified: incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java?rev=692848&r1=692847&r2=692848&view=diff
==============================================================================
--- incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
(original)
+++ incubator/empire-db/trunk/struts2-ext/Empire-struts2-ext/src/org/apache/empire/struts2/action/WebAction.java
Sun Sep  7 06:39:45 2008
@@ -167,6 +167,10 @@
     {
         actionError = null;
         fieldErrors = null;
+        // Remove from Session
+        ActionContext context = ActionContext.getContext();
+        if (context!=null)
+            context.getSession().remove(LAST_ACTION_ERROR_ATTRIBUTE);
     }
 
     /*



Mime
View raw message