Commits

Anonymous committed a9dbd45

WW-677: include tag now makes sure the ActionContext is not overridden if it includes an action

also fixed an issue where using the ActionTag could override values in the ActionContext / ValueStack context when the new ActionProxy is created by the ActionTag.

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@384e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

src/java/com/opensymphony/xwork/util/OgnlValueStack.java

 import ognl.OgnlContext;
 import ognl.OgnlException;
 import ognl.OgnlRuntime;
-
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
 import java.io.Serializable;
-
 import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.Map;
         setRoot(new CompoundRoot());
     }
 
+    public OgnlValueStack(OgnlValueStack vs) {
+        setRoot(new CompoundRoot(vs.getRoot()));
+    }
+
     //~ Methods ////////////////////////////////////////////////////////////////
 
     public static CompoundRootAccessor getAccessor() {