Examples of UIAjaxOutputPanel


Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see javax.faces.render.Renderer#encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
    //
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if ("none".equals(panel.getLayout())) {
      if (component.getChildCount() > 0) {
        AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
        boolean ajaxRequest = ajaxContext.isAjaxRequest();
        Set ajaxRenderedAreas = ajaxContext.getAjaxRenderedAreas();
        for (Iterator it = component.getChildren().iterator(); it.hasNext();) {
View Full Code Here

Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see org.ajax4jsf.renderkit.RendererBase#doEncodeBegin(javax.faces.context.ResponseWriter, javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if (!"none".equals(panel.getLayout())) {
      writer.startElement(getTag(panel), panel);
      getUtils().encodeId(context, component);
      getUtils().encodePassThru(context, component);
      getUtils().encodeAttributesFromArray(context,component,STYLE_ATTRIBUTES);
    }
View Full Code Here

Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see org.ajax4jsf.renderkit.RendererBase#doEncodeEnd(javax.faces.context.ResponseWriter, javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if (!"none".equals(panel.getLayout())) {
      writer.endElement(getTag(panel));
    }
    if (panel.isKeepTransient()) {
      markNoTransient(component);
    }
  }
View Full Code Here

Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see javax.faces.render.Renderer#encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
    //
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if ("none".equals(panel.getLayout())) {
      if (component.getChildCount() > 0) {
        AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
        boolean ajaxRequest = ajaxContext.isAjaxRequest();
        Set<String> ajaxRenderedAreas = ajaxContext.getAjaxRenderedAreas();
        for (UIComponent child : component.getChildren()) {
View Full Code Here

Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see org.ajax4jsf.renderkit.RendererBase#doEncodeBegin(javax.faces.context.ResponseWriter, javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  protected void doEncodeBegin(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if (!"none".equals(panel.getLayout())) {
      writer.startElement(getTag(panel), panel);
      getUtils().encodeId(context, component);
      getUtils().encodePassThru(context, component);
      getUtils().encodeAttributesFromArray(context,component,STYLE_ATTRIBUTES);
    }
View Full Code Here

Examples of org.ajax4jsf.component.UIAjaxOutputPanel

  /* (non-Javadoc)
   * @see org.ajax4jsf.renderkit.RendererBase#doEncodeEnd(javax.faces.context.ResponseWriter, javax.faces.context.FacesContext, javax.faces.component.UIComponent)
   */
  protected void doEncodeEnd(ResponseWriter writer, FacesContext context, UIComponent component) throws IOException {
    UIAjaxOutputPanel panel = (UIAjaxOutputPanel) component;
    if (!"none".equals(panel.getLayout())) {
      writer.endElement(getTag(panel));
    }
    if (panel.isKeepTransient()) {
      markNoTransient(component);
    }
  }
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.