Package org.ajax4jsf.component

Examples of org.ajax4jsf.component.AjaxViewRoot


  public void renderView(FacesContext context, UIViewRoot root)
      throws IOException, FacesException {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
    // Broadcast Ajax events before rendering, to setup areas to update.
    if (root instanceof AjaxViewRoot) {
      AjaxViewRoot ajaxRoot = (AjaxViewRoot) root;
      Map requestMap = context.getExternalContext().getRequestMap();
      // broadcast ajax events before render response.
      if (ajaxContext.isAjaxRequest(context)
          && null == requestMap
              .get(AjaxRendererUtils.AJAX_AREAS_RENDERED)) {
View Full Code Here


  public void renderView(FacesContext context, UIViewRoot root)
      throws IOException, FacesException {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
    // Broadcast Ajax events before rendering, to setup areas to update.
    if (root instanceof AjaxViewRoot) {
      AjaxViewRoot ajaxRoot = (AjaxViewRoot) root;
      // broadcast ajax events before render response.
      if (ajaxContext.isAjaxRequest()) {
        processAjaxEvents(context, ajaxRoot);
        if(ajaxContext.isSelfRender()){
          // Render view directly.
View Full Code Here

  public void renderView(FacesContext context, UIViewRoot root)
      throws IOException, FacesException {
    AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
    // Broadcast Ajax events before rendering, to setup areas to update.
    if (root instanceof AjaxViewRoot) {
      AjaxViewRoot ajaxRoot = (AjaxViewRoot) root;
      // broadcast ajax events before render response.
      if (ajaxContext.isAjaxRequest()) {
        processAjaxEvents(context, ajaxRoot);
        if(ajaxContext.isSelfRender()){
          // Render view directly.
View Full Code Here

TOP

Related Classes of org.ajax4jsf.component.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.