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

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


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlSelection comp = (HtmlSelection) component;
             
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            java.lang.String __dataModel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                          
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._var != null) {
        if (this._var.isLiteralText()) {
          try {
                       
            java.lang.String __var = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._var.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setVar(__var);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("var", this._var);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlSelection comp = (HtmlSelection) component;
             
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            java.lang.String __dataModel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                          
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._var != null) {
        if (this._var.isLiteralText()) {
          try {
                       
            java.lang.String __var = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._var.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setVar(__var);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("var", this._var);
View Full Code Here

TOP

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

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.