Examples of CompoundRoot


Examples of com.opensymphony.xwork2.util.CompoundRoot

      if(!isProperPrg(invocation)) {
        if (LOG.isDebugEnabled()) LOG.debug("Restoring value stack from event phase");
        ValueStack oldStack = (ValueStack) invocation.getInvocationContext().getSession().get(
        STACK_FROM_EVENT_PHASE);
        if (oldStack != null) {
          CompoundRoot oldRoot = oldStack.getRoot();
          ValueStack currentStack = invocation.getStack();
          CompoundRoot root = currentStack.getRoot();
          root.addAll(oldRoot);
          if (LOG.isDebugEnabled()) LOG.debug("Restored stack");
        }
      }
      else {
        if (LOG.isDebugEnabled()) LOG.debug("Won't restore stack from event phase since it's a proper PRG request");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.