Package org.ajax4jsf.component.html

Examples of org.ajax4jsf.component.html.HtmlPage


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPage comp = (HtmlPage) component;
            if(null != this._ajaxListener){
        ((HtmlPage)component).setAjaxListener(this._ajaxListener);
      }   
                    
            if (this._contentType != null) {
        if (this._contentType.isLiteralText()) {
          try {
                       
            java.lang.String __contentType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentType(__contentType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentType", this._contentType);
        }
      }
                          
            if (this._format != null) {
        if (this._format.isLiteralText()) {
          try {
                       
            java.lang.String __format = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._format.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFormat(__format);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("format", this._format);
        }
      }
                         
            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._namespace != null) {
        if (this._namespace.isLiteralText()) {
          try {
                       
            java.lang.String __namespace = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._namespace.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNamespace(__namespace);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("namespace", this._namespace);
        }
      }
                        
            if (this._onload != null) {
        if (this._onload.isLiteralText()) {
          try {
                       
            java.lang.String __onload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnload(__onload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onload", this._onload);
        }
      }
                        
            if (this._onunload != null) {
        if (this._onunload.isLiteralText()) {
          try {
                       
            java.lang.String __onunload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onunload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnunload(__onunload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onunload", this._onunload);
        }
      }
                        
            if (this._pageTitle != null) {
        if (this._pageTitle.isLiteralText()) {
          try {
                       
            java.lang.String __pageTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageTitle(__pageTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageTitle", this._pageTitle);
        }
      }
                          
            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);
    HtmlPage comp = (HtmlPage) component;
            if(null != this._ajaxListener){
        ((HtmlPage)component).setAjaxListener(this._ajaxListener);
      }   
                    
            if (this._contentType != null) {
        if (this._contentType.isLiteralText()) {
          try {
                       
            java.lang.String __contentType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentType(__contentType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentType", this._contentType);
        }
      }
                          
            if (this._format != null) {
        if (this._format.isLiteralText()) {
          try {
                       
            java.lang.String __format = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._format.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFormat(__format);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("format", this._format);
        }
      }
                         
            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._namespace != null) {
        if (this._namespace.isLiteralText()) {
          try {
                       
            java.lang.String __namespace = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._namespace.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNamespace(__namespace);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("namespace", this._namespace);
        }
      }
                        
            if (this._onload != null) {
        if (this._onload.isLiteralText()) {
          try {
                       
            java.lang.String __onload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnload(__onload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onload", this._onload);
        }
      }
                        
            if (this._onunload != null) {
        if (this._onunload.isLiteralText()) {
          try {
                       
            java.lang.String __onunload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onunload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnunload(__onunload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onunload", this._onunload);
        }
      }
                        
            if (this._pageTitle != null) {
        if (this._pageTitle.isLiteralText()) {
          try {
                       
            java.lang.String __pageTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageTitle(__pageTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageTitle", this._pageTitle);
        }
      }
                          
            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);
    HtmlPage comp = (HtmlPage) component;
            if(null != this._ajaxListener){
        ((HtmlPage)component).setAjaxListener(this._ajaxListener);
      }   
                    
            if (this._contentType != null) {
        if (this._contentType.isLiteralText()) {
          try {
                       
            java.lang.String __contentType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._contentType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setContentType(__contentType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("contentType", this._contentType);
        }
      }
                          
            if (this._format != null) {
        if (this._format.isLiteralText()) {
          try {
                       
            java.lang.String __format = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._format.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFormat(__format);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("format", this._format);
        }
      }
                         
            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._namespace != null) {
        if (this._namespace.isLiteralText()) {
          try {
                       
            java.lang.String __namespace = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._namespace.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNamespace(__namespace);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("namespace", this._namespace);
        }
      }
                        
            if (this._onload != null) {
        if (this._onload.isLiteralText()) {
          try {
                       
            java.lang.String __onload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnload(__onload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onload", this._onload);
        }
      }
                        
            if (this._onunload != null) {
        if (this._onunload.isLiteralText()) {
          try {
                       
            java.lang.String __onunload = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onunload.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnunload(__onunload);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onunload", this._onunload);
        }
      }
                        
            if (this._pageTitle != null) {
        if (this._pageTitle.isLiteralText()) {
          try {
                       
            java.lang.String __pageTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageTitle(__pageTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageTitle", this._pageTitle);
        }
      }
                          
            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.HtmlPage

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.