jcarreira  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.


  • Participants
  • Parent commits aa39d8e

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork/util/

 import ognl.OgnlContext;
 import ognl.OgnlException;
 import ognl.OgnlRuntime;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 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() {