Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlPickList


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPickList comp = (HtmlPickList) component;
             
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyAllVisible != null) {
        if (this._copyAllVisible.isLiteralText()) {
          try {
                       
            Boolean __copyAllVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setCopyAllVisible(__copyAllVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllVisible", this._copyAllVisible);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                        
            if (this._copyVisible != null) {
        if (this._copyVisible.isLiteralText()) {
          try {
                       
            Boolean __copyVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setCopyVisible(__copyVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyVisible", this._copyVisible);
        }
      }
                         
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledStyle != null) {
        if (this._disabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyle(__disabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyle", this._disabledStyle);
        }
      }
                        
            if (this._disabledStyleClass != null) {
        if (this._disabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyleClass(__disabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyleClass", this._disabledStyleClass);
        }
      }
                        
            if (this._enabledStyle != null) {
        if (this._enabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyle(__enabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyle", this._enabledStyle);
        }
      }
                        
            if (this._enabledStyleClass != null) {
        if (this._enabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyleClass(__enabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyleClass", this._enabledStyleClass);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                         
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                         
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVerticalAlign != null) {
        if (this._moveControlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __moveControlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMoveControlsVerticalAlign(__moveControlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVerticalAlign", this._moveControlsVerticalAlign);
        }
      }
                        
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                           
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                           
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                             
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeAllVisible != null) {
        if (this._removeAllVisible.isLiteralText()) {
          try {
                       
            Boolean __removeAllVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setRemoveAllVisible(__removeAllVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllVisible", this._removeAllVisible);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                        
            if (this._removeVisible != null) {
        if (this._removeVisible.isLiteralText()) {
          try {
                       
            Boolean __removeVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setRemoveVisible(__removeVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeVisible", this._removeVisible);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._showButtonsLabel != null) {
        if (this._showButtonsLabel.isLiteralText()) {
          try {
                       
            Boolean __showButtonsLabel = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonsLabel.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonsLabel(__showButtonsLabel.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonsLabel", this._showButtonsLabel);
        }
      }
                         
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                          
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._switchByDblClick != null) {
        if (this._switchByDblClick.isLiteralText()) {
          try {
                       
            Boolean __switchByDblClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByDblClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByDblClick(__switchByDblClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByDblClick", this._switchByDblClick);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPickList comp = (HtmlPickList) component;
             
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                         
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledStyle != null) {
        if (this._disabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyle(__disabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyle", this._disabledStyle);
        }
      }
                        
            if (this._disabledStyleClass != null) {
        if (this._disabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyleClass(__disabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyleClass", this._disabledStyleClass);
        }
      }
                        
            if (this._enabledStyle != null) {
        if (this._enabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyle(__enabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyle", this._enabledStyle);
        }
      }
                        
            if (this._enabledStyleClass != null) {
        if (this._enabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyleClass(__enabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyleClass", this._enabledStyleClass);
        }
      }
                          
            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._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVerticalAlign != null) {
        if (this._moveControlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __moveControlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMoveControlsVerticalAlign(__moveControlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVerticalAlign", this._moveControlsVerticalAlign);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                           
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                           
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                             
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._showButtonsLabel != null) {
        if (this._showButtonsLabel.isLiteralText()) {
          try {
                       
            Boolean __showButtonsLabel = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonsLabel.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonsLabel(__showButtonsLabel.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonsLabel", this._showButtonsLabel);
        }
      }
                         
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                          
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPickList comp = (HtmlPickList) component;
             
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                         
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledStyle != null) {
        if (this._disabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyle(__disabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyle", this._disabledStyle);
        }
      }
                        
            if (this._disabledStyleClass != null) {
        if (this._disabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyleClass(__disabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyleClass", this._disabledStyleClass);
        }
      }
                        
            if (this._enabledStyle != null) {
        if (this._enabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyle(__enabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyle", this._enabledStyle);
        }
      }
                        
            if (this._enabledStyleClass != null) {
        if (this._enabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyleClass(__enabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyleClass", this._enabledStyleClass);
        }
      }
                          
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                         
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVerticalAlign != null) {
        if (this._moveControlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __moveControlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMoveControlsVerticalAlign(__moveControlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVerticalAlign", this._moveControlsVerticalAlign);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                           
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                           
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                             
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._showButtonsLabel != null) {
        if (this._showButtonsLabel.isLiteralText()) {
          try {
                       
            Boolean __showButtonsLabel = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonsLabel.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonsLabel(__showButtonsLabel.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonsLabel", this._showButtonsLabel);
        }
      }
                         
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                          
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPickList comp = (HtmlPickList) component;
             
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyAllVisible != null) {
        if (this._copyAllVisible.isLiteralText()) {
          try {
                       
            Boolean __copyAllVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setCopyAllVisible(__copyAllVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllVisible", this._copyAllVisible);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                        
            if (this._copyVisible != null) {
        if (this._copyVisible.isLiteralText()) {
          try {
                       
            Boolean __copyVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setCopyVisible(__copyVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyVisible", this._copyVisible);
        }
      }
                         
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledStyle != null) {
        if (this._disabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyle(__disabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyle", this._disabledStyle);
        }
      }
                        
            if (this._disabledStyleClass != null) {
        if (this._disabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyleClass(__disabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyleClass", this._disabledStyleClass);
        }
      }
                        
            if (this._enabledStyle != null) {
        if (this._enabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyle(__enabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyle", this._enabledStyle);
        }
      }
                        
            if (this._enabledStyleClass != null) {
        if (this._enabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyleClass(__enabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyleClass", this._enabledStyleClass);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                         
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                         
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVerticalAlign != null) {
        if (this._moveControlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __moveControlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMoveControlsVerticalAlign(__moveControlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVerticalAlign", this._moveControlsVerticalAlign);
        }
      }
                        
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                           
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                           
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                             
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeAllVisible != null) {
        if (this._removeAllVisible.isLiteralText()) {
          try {
                       
            Boolean __removeAllVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setRemoveAllVisible(__removeAllVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllVisible", this._removeAllVisible);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                        
            if (this._removeVisible != null) {
        if (this._removeVisible.isLiteralText()) {
          try {
                       
            Boolean __removeVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setRemoveVisible(__removeVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeVisible", this._removeVisible);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._showButtonsLabel != null) {
        if (this._showButtonsLabel.isLiteralText()) {
          try {
                       
            Boolean __showButtonsLabel = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonsLabel.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonsLabel(__showButtonsLabel.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonsLabel", this._showButtonsLabel);
        }
      }
                         
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                          
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._switchByDblClick != null) {
        if (this._switchByDblClick.isLiteralText()) {
          try {
                       
            Boolean __switchByDblClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByDblClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByDblClick(__switchByDblClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByDblClick", this._switchByDblClick);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlPickList comp = (HtmlPickList) component;
             
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                         
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledStyle != null) {
        if (this._disabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyle(__disabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyle", this._disabledStyle);
        }
      }
                        
            if (this._disabledStyleClass != null) {
        if (this._disabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledStyleClass(__disabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledStyleClass", this._disabledStyleClass);
        }
      }
                        
            if (this._enabledStyle != null) {
        if (this._enabledStyle.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyle(__enabledStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyle", this._enabledStyle);
        }
      }
                        
            if (this._enabledStyleClass != null) {
        if (this._enabledStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __enabledStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enabledStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEnabledStyleClass(__enabledStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enabledStyleClass", this._enabledStyleClass);
        }
      }
                          
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                         
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVerticalAlign != null) {
        if (this._moveControlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __moveControlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMoveControlsVerticalAlign(__moveControlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVerticalAlign", this._moveControlsVerticalAlign);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                           
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                           
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                             
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._showButtonsLabel != null) {
        if (this._showButtonsLabel.isLiteralText()) {
          try {
                       
            Boolean __showButtonsLabel = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonsLabel.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonsLabel(__showButtonsLabel.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonsLabel", this._showButtonsLabel);
        }
      }
                         
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                          
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
View Full Code Here

TOP

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

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.