Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlInputNumberSpinner


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSpinner comp = (HtmlInputNumberSpinner) component;
            
            if (this._accesskey != null) {
        if (this._accesskey.isLiteralText()) {
          try {
                       
            java.lang.String __accesskey = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accesskey.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccesskey(__accesskey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accesskey", this._accesskey);
        }
      }
                          
            if (this._clientErrorMessage != null) {
        if (this._clientErrorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __clientErrorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._clientErrorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setClientErrorMessage(__clientErrorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("clientErrorMessage", this._clientErrorMessage);
        }
      }
                        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._cycled != null) {
        if (this._cycled.isLiteralText()) {
          try {
                       
            Boolean __cycled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cycled.getExpressionString(),
                      Boolean.class);
         
                        comp.setCycled(__cycled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cycled", this._cycled);
        }
      }
                        
            if (this._disableBrowserAutoComplete != null) {
        if (this._disableBrowserAutoComplete.isLiteralText()) {
          try {
                       
            Boolean __disableBrowserAutoComplete = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableBrowserAutoComplete.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableBrowserAutoComplete(__disableBrowserAutoComplete.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableBrowserAutoComplete", this._disableBrowserAutoComplete);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                          
            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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            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._maxValue != null) {
        if (this._maxValue.isLiteralText()) {
          try {
                       
            java.lang.String __maxValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxValue(__maxValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxValue", this._maxValue);
        }
      }
                         
            if (this._minValue != null) {
        if (this._minValue.isLiteralText()) {
          try {
                       
            java.lang.String __minValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinValue(__minValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minValue", this._minValue);
        }
      }
                        
            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._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                          
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onerror != null) {
        if (this._onerror.isLiteralText()) {
          try {
                       
            java.lang.String __onerror = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onerror.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnerror(__onerror);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onerror", this._onerror);
        }
      }
                        
            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._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                         
            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._step != null) {
        if (this._step.isLiteralText()) {
          try {
                       
            java.lang.String __step = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._step.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStep(__step);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("step", this._step);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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);
    HtmlInputNumberSpinner comp = (HtmlInputNumberSpinner) component;
            
            if (this._accesskey != null) {
        if (this._accesskey.isLiteralText()) {
          try {
                       
            java.lang.String __accesskey = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accesskey.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccesskey(__accesskey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accesskey", this._accesskey);
        }
      }
                          
            if (this._clientErrorMessage != null) {
        if (this._clientErrorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __clientErrorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._clientErrorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setClientErrorMessage(__clientErrorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("clientErrorMessage", this._clientErrorMessage);
        }
      }
                        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._cycled != null) {
        if (this._cycled.isLiteralText()) {
          try {
                       
            Boolean __cycled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cycled.getExpressionString(),
                      Boolean.class);
         
                        comp.setCycled(__cycled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cycled", this._cycled);
        }
      }
                        
            if (this._disableBrowserAutoComplete != null) {
        if (this._disableBrowserAutoComplete.isLiteralText()) {
          try {
                       
            Boolean __disableBrowserAutoComplete = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableBrowserAutoComplete.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableBrowserAutoComplete(__disableBrowserAutoComplete.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableBrowserAutoComplete", this._disableBrowserAutoComplete);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                          
            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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            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._maxValue != null) {
        if (this._maxValue.isLiteralText()) {
          try {
                       
            java.lang.String __maxValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxValue(__maxValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxValue", this._maxValue);
        }
      }
                         
            if (this._minValue != null) {
        if (this._minValue.isLiteralText()) {
          try {
                       
            java.lang.String __minValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinValue(__minValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minValue", this._minValue);
        }
      }
                        
            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._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                          
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onerror != null) {
        if (this._onerror.isLiteralText()) {
          try {
                       
            java.lang.String __onerror = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onerror.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnerror(__onerror);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onerror", this._onerror);
        }
      }
                        
            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._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                         
            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._step != null) {
        if (this._step.isLiteralText()) {
          try {
                       
            java.lang.String __step = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._step.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStep(__step);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("step", this._step);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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);
    HtmlInputNumberSpinner comp = (HtmlInputNumberSpinner) component;
            
            if (this._accesskey != null) {
        if (this._accesskey.isLiteralText()) {
          try {
                       
            java.lang.String __accesskey = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accesskey.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccesskey(__accesskey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accesskey", this._accesskey);
        }
      }
                          
            if (this._clientErrorMessage != null) {
        if (this._clientErrorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __clientErrorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._clientErrorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setClientErrorMessage(__clientErrorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("clientErrorMessage", this._clientErrorMessage);
        }
      }
                        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._cycled != null) {
        if (this._cycled.isLiteralText()) {
          try {
                       
            Boolean __cycled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cycled.getExpressionString(),
                      Boolean.class);
         
                        comp.setCycled(__cycled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cycled", this._cycled);
        }
      }
                        
            if (this._disableBrowserAutoComplete != null) {
        if (this._disableBrowserAutoComplete.isLiteralText()) {
          try {
                       
            Boolean __disableBrowserAutoComplete = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableBrowserAutoComplete.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableBrowserAutoComplete(__disableBrowserAutoComplete.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableBrowserAutoComplete", this._disableBrowserAutoComplete);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                          
            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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            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._maxValue != null) {
        if (this._maxValue.isLiteralText()) {
          try {
                       
            java.lang.String __maxValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxValue(__maxValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxValue", this._maxValue);
        }
      }
                         
            if (this._minValue != null) {
        if (this._minValue.isLiteralText()) {
          try {
                       
            java.lang.String __minValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinValue(__minValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minValue", this._minValue);
        }
      }
                        
            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._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                          
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onerror != null) {
        if (this._onerror.isLiteralText()) {
          try {
                       
            java.lang.String __onerror = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onerror.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnerror(__onerror);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onerror", this._onerror);
        }
      }
                        
            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._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                         
            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._step != null) {
        if (this._step.isLiteralText()) {
          try {
                       
            java.lang.String __step = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._step.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStep(__step);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("step", this._step);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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);
    HtmlInputNumberSpinner comp = (HtmlInputNumberSpinner) component;
            
            if (this._accesskey != null) {
        if (this._accesskey.isLiteralText()) {
          try {
                       
            java.lang.String __accesskey = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accesskey.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccesskey(__accesskey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accesskey", this._accesskey);
        }
      }
                          
            if (this._clientErrorMessage != null) {
        if (this._clientErrorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __clientErrorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._clientErrorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setClientErrorMessage(__clientErrorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("clientErrorMessage", this._clientErrorMessage);
        }
      }
                        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._cycled != null) {
        if (this._cycled.isLiteralText()) {
          try {
                       
            Boolean __cycled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cycled.getExpressionString(),
                      Boolean.class);
         
                        comp.setCycled(__cycled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cycled", this._cycled);
        }
      }
                        
            if (this._disableBrowserAutoComplete != null) {
        if (this._disableBrowserAutoComplete.isLiteralText()) {
          try {
                       
            Boolean __disableBrowserAutoComplete = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableBrowserAutoComplete.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableBrowserAutoComplete(__disableBrowserAutoComplete.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableBrowserAutoComplete", this._disableBrowserAutoComplete);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                          
            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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            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._maxValue != null) {
        if (this._maxValue.isLiteralText()) {
          try {
                       
            java.lang.String __maxValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxValue(__maxValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxValue", this._maxValue);
        }
      }
                         
            if (this._minValue != null) {
        if (this._minValue.isLiteralText()) {
          try {
                       
            java.lang.String __minValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinValue(__minValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minValue", this._minValue);
        }
      }
                        
            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._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                          
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onerror != null) {
        if (this._onerror.isLiteralText()) {
          try {
                       
            java.lang.String __onerror = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onerror.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnerror(__onerror);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onerror", this._onerror);
        }
      }
                        
            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._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                         
            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._step != null) {
        if (this._step.isLiteralText()) {
          try {
                       
            java.lang.String __step = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._step.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStep(__step);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("step", this._step);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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);
    HtmlInputNumberSpinner comp = (HtmlInputNumberSpinner) component;
            
            if (this._accesskey != null) {
        if (this._accesskey.isLiteralText()) {
          try {
                       
            java.lang.String __accesskey = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._accesskey.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAccesskey(__accesskey);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("accesskey", this._accesskey);
        }
      }
                          
            if (this._clientErrorMessage != null) {
        if (this._clientErrorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __clientErrorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._clientErrorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setClientErrorMessage(__clientErrorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("clientErrorMessage", this._clientErrorMessage);
        }
      }
                        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._cycled != null) {
        if (this._cycled.isLiteralText()) {
          try {
                       
            Boolean __cycled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cycled.getExpressionString(),
                      Boolean.class);
         
                        comp.setCycled(__cycled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cycled", this._cycled);
        }
      }
                        
            if (this._disableBrowserAutoComplete != null) {
        if (this._disableBrowserAutoComplete.isLiteralText()) {
          try {
                       
            Boolean __disableBrowserAutoComplete = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableBrowserAutoComplete.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableBrowserAutoComplete(__disableBrowserAutoComplete.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableBrowserAutoComplete", this._disableBrowserAutoComplete);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                          
            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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            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._maxValue != null) {
        if (this._maxValue.isLiteralText()) {
          try {
                       
            java.lang.String __maxValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxValue(__maxValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxValue", this._maxValue);
        }
      }
                         
            if (this._minValue != null) {
        if (this._minValue.isLiteralText()) {
          try {
                       
            java.lang.String __minValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minValue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinValue(__minValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minValue", this._minValue);
        }
      }
                        
            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._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                          
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onerror != null) {
        if (this._onerror.isLiteralText()) {
          try {
                       
            java.lang.String __onerror = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onerror.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnerror(__onerror);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onerror", this._onerror);
        }
      }
                        
            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._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                         
            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._step != null) {
        if (this._step.isLiteralText()) {
          try {
                       
            java.lang.String __step = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._step.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStep(__step);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("step", this._step);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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.HtmlInputNumberSpinner

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.