Package javax.faces.component

Examples of javax.faces.component.UIViewRoot.addPhaseListener()


    if (null != viewIdHolder && viewIdHolder.skipNavigation(viewId)) {
      viewIdHolder.setViewId(viewId);
      riRoot = facesContext.getViewRoot();
    } else {
      riRoot = super.createView(facesContext, viewId);
      riRoot.addPhaseListener(new RenderPhaseComponentListener());
      // Reset ajax request status for a navigation case.
      if(null != facesContext.getViewRoot()){
        ajaxContext.setAjaxRequest(false);
      }
    }
View Full Code Here


                throw new JspException(e.getMessage(), e.getCause());
            }
        } else {
            listener = new BindingPhaseListener(type, binding);           
        }
        viewRoot.addPhaseListener(listener);

        return (SKIP_BODY);

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