Package org.jboss.seam.ui.component.html

Examples of org.jboss.seam.ui.component.html.HtmlDecorate


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDecorate comp = (HtmlDecorate) component;
              
                      if (this._for != null) {
          comp.setFor(this._for);
        }
                                   
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                        
            if (this._template != null) {
        if (this._template.isLiteralText()) {
          try {
                       
            java.lang.String __template = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._template.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTemplate(__template);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("template", this._template);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDecorate comp = (HtmlDecorate) component;
             
                      if (this._element != null) {
          comp.setElement(this._element);
        }
                                
                        Boolean __enclose = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enclose,
                      Boolean.class);
          comp.setEnclose(__enclose.booleanValue());           
           
                                 
                      if (this._for != null) {
          comp.setFor(this._for);
        }
                                   
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                        
            if (this._template != null) {
        if (this._template.isLiteralText()) {
          try {
                       
            java.lang.String __template = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._template.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTemplate(__template);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("template", this._template);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDecorate comp = (HtmlDecorate) component;
             
                      if (this._element != null) {
          comp.setElement(this._element);
        }
                                
                        Boolean __enclose = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enclose,
                      Boolean.class);
          comp.setEnclose(__enclose.booleanValue());           
           
                                 
                      if (this._for != null) {
          comp.setFor(this._for);
        }
                                   
            if (this._style != null) {
        if (this._style.isLiteralText()) {
          try {
                       
            java.lang.String __style = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._style.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyle(__style);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("style", this._style);
        }
      }
                        
            if (this._styleClass != null) {
        if (this._styleClass.isLiteralText()) {
          try {
                       
            java.lang.String __styleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._styleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStyleClass(__styleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("styleClass", this._styleClass);
        }
      }
                        
            if (this._template != null) {
        if (this._template.isLiteralText()) {
          try {
                       
            java.lang.String __template = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._template.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTemplate(__template);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("template", this._template);
View Full Code Here

TOP

Related Classes of org.jboss.seam.ui.component.html.HtmlDecorate

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.