Examples of addComponentToAjaxRender()


Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      }
     
      AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
      ajaxContext.addRegionsFromComponent(component);
      ajaxContext.addComponentToAjaxRender(component);
      ajaxContext.addRegionsFromComponent(component);
     
      ajaxContext.addRenderedArea(clientId + ":tb");
     
      // FIXME: check for correct client id.
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      }
     
      AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
      ajaxContext.addRegionsFromComponent(component);
      ajaxContext.addComponentToAjaxRender(component);
      ajaxContext.addRegionsFromComponent(component);
     
      ajaxContext.addRenderedArea(clientId + ":tb");
     
      // FIXME: check for correct client id.
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      } else if (params.containsKey(FORCE_PERCENT_PARAM)) {
        if (logger.isDebugEnabled()) {
          logger.debug("Force state: "
              + this.getClientId(facesContext));
        }
        ajaxContext.addComponentToAjaxRender(this);
        String forcedState = params.get(FORCE_PERCENT_PARAM);
        if ("complete".equals(forcedState)) {
          Object reRender = this.getAttributes().get("reRenderAfterComplete");
          Set<String> ajaxRegions = AjaxRendererUtils.asSet(reRender);
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

          if (ajaxRegions != null) {
            for (Iterator<String> iter = ajaxRegions.iterator(); iter
                .hasNext();) {
              String id = iter.next();
              ajaxContext.addComponentToAjaxRender(this, id);
            }
          }
        }
      }
    }
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      }
     
      AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
      ajaxContext.addRegionsFromComponent(component);
      ajaxContext.addComponentToAjaxRender(component);
      ajaxContext.addRegionsFromComponent(component);
     
      ajaxContext.addRenderedArea(clientId + ":tb");
     
      // FIXME: check for correct client id.
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      }
     
      AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
      ajaxContext.addRegionsFromComponent(component);
      ajaxContext.addComponentToAjaxRender(component);
      ajaxContext.addRegionsFromComponent(component);
     
      ajaxContext.addRenderedArea(clientId + ":tb");
     
      // FIXME: check for correct client id.
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

  }

  AjaxContext ac = AjaxContext.getCurrentInstance();
  // Add destination tree to reRender
  try {
      ac.addComponentToAjaxRender(destTree);
  } catch (Exception e) {
      System.err.print(e.getMessage());
  }

    }
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

     
      AjaxContext ajaxContext = AjaxContext.getCurrentInstance();
     
      //TODO: AjaxEvent?
      if (ajaxContext.isAjaxRequest()) {
        ajaxContext.addComponentToAjaxRender(table);
      }
    }
   
   
  }
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

      } else if (params.containsKey(FORCE_PERCENT_PARAM)) {
        if (logger.isDebugEnabled()) {
          logger.debug("Force state: "
              + this.getClientId(facesContext));
        }
        ajaxContext.addComponentToAjaxRender(this);
        String forcedState = params.get(FORCE_PERCENT_PARAM);
        if ("complete".equals(forcedState)) {
          Object reRender = this.getAttributes().get("reRenderAfterComplete");
          Set<String> ajaxRegions = AjaxRendererUtils.asSet(reRender);
View Full Code Here

Examples of org.ajax4jsf.context.AjaxContext.addComponentToAjaxRender()

          if (ajaxRegions != null) {
            for (Iterator<String> iter = ajaxRegions.iterator(); iter
                .hasNext();) {
              String id = iter.next();
              ajaxContext.addComponentToAjaxRender(this, id);
            }
          }
        }
      }
    }
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.