Package org.springframework.faces.ui

Examples of org.springframework.faces.ui.AjaxViewRoot


    }
  }

  private JsfView createJsfView(UIViewRoot root, Lifecycle lifecycle, RequestContext context) {
    if (isSpringJavascriptAjaxRequest(context.getExternalContext())) {
      return new JsfView(new AjaxViewRoot(root), lifecycle, context);
    } else {
      return new JsfView(root, lifecycle, context);
    }
  }
View Full Code Here


    Lifecycle lifecycle = new NoEventLifecycle(jsfMock.lifecycle());

    UIViewRoot existingRoot = new UIViewRoot();
    existingRoot.setViewId(VIEW_ID);
    AjaxViewRoot ajaxRoot = new AjaxViewRoot(existingRoot);

    EasyMock.replay(new Object[] { context, flowExecutionContext, flowMap, flashScope });

    JsfView restoredView = new JsfView(ajaxRoot, lifecycle, context);
    restoredView.setRestored(true);
View Full Code Here

TOP

Related Classes of org.springframework.faces.ui.AjaxViewRoot

Copyright © 2018 www.massapicom. 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.