webwork/src/main/webwork/dispatcher GenericDispatcher.java,1.16,1.17

[email protected] Sat, 12 Jun 2004 15:41:49 -0700
Newsgroups gmane.comp.java.open-symphony.cvs
Message-ID <[email protected]>
Update of /cvsroot/opensymphony/webwork/src/main/webwork/dispatcher
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19543

Modified Files:
	GenericDispatcher.java 
Log Message:
Fixed bug where cleanup was never called on actions created
by the action tag

Index: GenericDispatcher.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/dispatcher/GenericDispatcher.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- GenericDispatcher.java	14 Apr 2004 00:13:02 -0000	1.16
+++ GenericDispatcher.java	12 Jun 2004 22:41:46 -0000	1.17
@@ -210,6 +210,8 @@
       for (int i = 0; i < count; i++)
       {
          Object o = vs.popValue();
+         if (o instanceof ValueStack.ValueHolder)
+            o = ((ValueStack.ValueHolder) o).getValue();
          if (o instanceof CleanupAware)
 				    ((CleanupAware)o).cleanup();
       }



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504