Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlEffect


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEffect comp = (HtmlEffect) component;
             
            if (this._disableDefault != null) {
        if (this._disableDefault.isLiteralText()) {
          try {
                       
            Boolean __disableDefault = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableDefault.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableDefault(__disableDefault.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableDefault", this._disableDefault);
        }
      }
                        
                      if (this._event != null) {
          comp.setEvent(this._event);
        }
                                  
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                         
            if (this._name != null) {
        if (this._name.isLiteralText()) {
          try {
                       
            java.lang.String __name = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._name.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setName(__name);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("name", this._name);
        }
      }
                         
            if (this._params != null) {
        if (this._params.isLiteralText()) {
          try {
                       
            java.lang.String __params = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._params.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setParams(__params);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("params", this._params);
        }
      }
                          
            if (this._targetId != null) {
        if (this._targetId.isLiteralText()) {
          try {
                       
            java.lang.String __targetId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetId(__targetId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetId", this._targetId);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEffect comp = (HtmlEffect) component;
             
            if (this._disableDefault != null) {
        if (this._disableDefault.isLiteralText()) {
          try {
                       
            Boolean __disableDefault = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableDefault.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableDefault(__disableDefault.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableDefault", this._disableDefault);
        }
      }
                        
                      if (this._event != null) {
          comp.setEvent(this._event);
        }
                                  
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                         
            if (this._name != null) {
        if (this._name.isLiteralText()) {
          try {
                       
            java.lang.String __name = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._name.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setName(__name);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("name", this._name);
        }
      }
                         
            if (this._params != null) {
        if (this._params.isLiteralText()) {
          try {
                       
            java.lang.String __params = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._params.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setParams(__params);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("params", this._params);
        }
      }
                          
            if (this._targetId != null) {
        if (this._targetId.isLiteralText()) {
          try {
                       
            java.lang.String __targetId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetId(__targetId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetId", this._targetId);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
View Full Code Here

TOP

Related Classes of org.richfaces.component.html.HtmlEffect

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.