Examples of skipNavigation()


Examples of org.ajax4jsf.context.ViewIdHolder.skipNavigation()

  public UIViewRoot createView(FacesContext facesContext, String viewId) {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(facesContext);
    // Check for simple keep new ViewId in navigation cases.
    ViewIdHolder viewIdHolder = ajaxContext.getViewIdHolder();
    UIViewRoot riRoot;
    if (null != viewIdHolder && viewIdHolder.skipNavigation(viewId)) {
      viewIdHolder.setViewId(viewId);
      riRoot = facesContext.getViewRoot();
    } else {
      UIViewRoot root = super.createView(facesContext, viewId);
      // TODO -setup render-kit where instead of Listener ?
View Full Code Here

Examples of org.ajax4jsf.context.ViewIdHolder.skipNavigation()

  public UIViewRoot createView(FacesContext facesContext, String viewId) {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(facesContext);
    // Check for simple keep new ViewId in navigation cases.
    ViewIdHolder viewIdHolder = ajaxContext.getViewIdHolder();
    UIViewRoot riRoot;
    if (null != viewIdHolder && viewIdHolder.skipNavigation(viewId)) {
      viewIdHolder.setViewId(viewId);
      riRoot = facesContext.getViewRoot();
    } else {
      riRoot = super.createView(facesContext, viewId);
      riRoot.addPhaseListener(new RenderPhaseComponentListener());
View Full Code Here

Examples of org.ajax4jsf.context.ViewIdHolder.skipNavigation()

  public UIViewRoot createView(FacesContext facesContext, String viewId) {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(facesContext);
    // Check for simple keep new ViewId in navigation cases.
    ViewIdHolder viewIdHolder = ajaxContext.getViewIdHolder();
    UIViewRoot riRoot;
    if (null != viewIdHolder && viewIdHolder.skipNavigation(viewId)) {
      viewIdHolder.setViewId(viewId);
      riRoot = facesContext.getViewRoot();
    } else {
      riRoot = super.createView(facesContext, viewId);
      riRoot.addPhaseListener(new RenderPhaseComponentListener());
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.