Package org.ajax4jsf.component.html

Examples of org.ajax4jsf.component.html.HtmlAjaxRegion


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlAjaxRegion comp = (HtmlAjaxRegion) component;
            if(null != this._ajaxListener){
        ((HtmlAjaxRegion)component).setAjaxListener(this._ajaxListener);
      }   
                      
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._renderRegionOnly != null) {
        if (this._renderRegionOnly.isLiteralText()) {
          try {
                       
            Boolean __renderRegionOnly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderRegionOnly.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderRegionOnly(__renderRegionOnly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderRegionOnly", this._renderRegionOnly);
        }
      }
                         
            if (this._selfRendered != null) {
        if (this._selfRendered.isLiteralText()) {
          try {
                       
            Boolean __selfRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selfRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setSelfRendered(__selfRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selfRendered", this._selfRendered);
View Full Code Here


        forwardParameter(propSetForm, "mode");

        addPropSetButtons(configurationSetComponent, propSetForm);

        // Add an AJAX region+panel as a child of this second form.
        HtmlAjaxRegion ajaxRegion = FacesComponentUtility.createComponent(HtmlAjaxRegion.class);
        propSetForm.getChildren().add(ajaxRegion);
        HtmlAjaxOutputPanel ajaxOutputPanel = FacesComponentUtility.createComponent(HtmlAjaxOutputPanel.class);
        ajaxRegion.getChildren().add(ajaxOutputPanel);
        ajaxOutputPanel.setLayout("block");
        ajaxOutputPanel.setAjaxRendered(true);
        ajaxOutputPanel.setKeepTransient(true);

        // And finally add the propSet component as a child of this AJAX region.
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlAjaxRegion comp = (HtmlAjaxRegion) component;
            if(null != this._ajaxListener){
        ((HtmlAjaxRegion)component).setAjaxListener(this._ajaxListener);
      }   
                      
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._renderRegionOnly != null) {
        if (this._renderRegionOnly.isLiteralText()) {
          try {
                       
            Boolean __renderRegionOnly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderRegionOnly.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderRegionOnly(__renderRegionOnly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderRegionOnly", this._renderRegionOnly);
        }
      }
                         
            if (this._selfRendered != null) {
        if (this._selfRendered.isLiteralText()) {
          try {
                       
            Boolean __selfRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selfRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setSelfRendered(__selfRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selfRendered", this._selfRendered);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlAjaxRegion comp = (HtmlAjaxRegion) component;
            if(null != this._ajaxListener){
        ((HtmlAjaxRegion)component).setAjaxListener(this._ajaxListener);
      }   
                      
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._renderRegionOnly != null) {
        if (this._renderRegionOnly.isLiteralText()) {
          try {
                       
            Boolean __renderRegionOnly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderRegionOnly.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderRegionOnly(__renderRegionOnly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderRegionOnly", this._renderRegionOnly);
        }
      }
                         
            if (this._selfRendered != null) {
        if (this._selfRendered.isLiteralText()) {
          try {
                       
            Boolean __selfRendered = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selfRendered.getExpressionString(),
                      Boolean.class);
         
                        comp.setSelfRendered(__selfRendered.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selfRendered", this._selfRendered);
View Full Code Here

TOP

Related Classes of org.ajax4jsf.component.html.HtmlAjaxRegion

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.