Examples of HtmlInputNumberSlider


Examples of org.richfaces.component.html.HtmlInputNumberSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSlider comp = (HtmlInputNumberSlider) 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._barClass != null) {
        if (this._barClass.isLiteralText()) {
          try {
                       
            java.lang.String __barClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarClass(__barClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barClass", this._barClass);
        }
      }
                        
            if (this._barStyle != null) {
        if (this._barStyle.isLiteralText()) {
          try {
                       
            java.lang.String __barStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarStyle(__barStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barStyle", this._barStyle);
        }
      }
                         
            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._decreaseClass != null) {
        if (this._decreaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseClass(__decreaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseClass", this._decreaseClass);
        }
      }
                        
            if (this._decreaseSelectedClass != null) {
        if (this._decreaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseSelectedClass(__decreaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseSelectedClass", this._decreaseSelectedClass);
        }
      }
                        
            if (this._decreaseStyle != null) {
        if (this._decreaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseStyle(__decreaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseStyle", this._decreaseStyle);
        }
      }
                        
            if (this._delay != null) {
        if (this._delay.isLiteralText()) {
          try {
                       
            Integer __delay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._delay.getExpressionString(),
                      Integer.class);
         
                        comp.setDelay(__delay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("delay", this._delay);
        }
      }
                        
            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._handleClass != null) {
        if (this._handleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleClass(__handleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleClass", this._handleClass);
        }
      }
                        
            if (this._handleSelectedClass != null) {
        if (this._handleSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleSelectedClass(__handleSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleSelectedClass", this._handleSelectedClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            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._increaseClass != null) {
        if (this._increaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseClass(__increaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseClass", this._increaseClass);
        }
      }
                        
            if (this._increaseSelectedClass != null) {
        if (this._increaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseSelectedClass(__increaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseSelectedClass", this._increaseSelectedClass);
        }
      }
                        
            if (this._increaseStyle != null) {
        if (this._increaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __increaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseStyle(__increaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseStyle", this._increaseStyle);
        }
      }
                        
            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._inputPosition != null) {
        if (this._inputPosition.isLiteralText()) {
          try {
                       
            java.lang.String __inputPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputPosition(__inputPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputPosition", this._inputPosition);
        }
      }
                        
            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._maxlength != null) {
        if (this._maxlength.isLiteralText()) {
          try {
                       
            Integer __maxlength = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxlength.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxlength(__maxlength.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxlength", this._maxlength);
        }
      }
                        
            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._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._onslide != null) {
        if (this._onslide.isLiteralText()) {
          try {
                       
            java.lang.String __onslide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onslide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnslide(__onslide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onslide", this._onslide);
        }
      }
                        
            if (this._orientation != null) {
        if (this._orientation.isLiteralText()) {
          try {
                       
            java.lang.String __orientation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orientation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOrientation(__orientation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orientation", this._orientation);
        }
      }
                         
            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._showArrows != null) {
        if (this._showArrows.isLiteralText()) {
          try {
                       
            Boolean __showArrows = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showArrows.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowArrows(__showArrows.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showArrows", this._showArrows);
        }
      }
                        
            if (this._showBoundaryValues != null) {
        if (this._showBoundaryValues.isLiteralText()) {
          try {
                       
            Boolean __showBoundaryValues = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showBoundaryValues.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowBoundaryValues(__showBoundaryValues.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showBoundaryValues", this._showBoundaryValues);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showToolTip != null) {
        if (this._showToolTip.isLiteralText()) {
          try {
                       
            Boolean __showToolTip = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showToolTip.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowToolTip(__showToolTip.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showToolTip", this._showToolTip);
        }
      }
                         
            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);
        }
      }
                        
            if (this._tipClass != null) {
        if (this._tipClass.isLiteralText()) {
          try {
                       
            java.lang.String __tipClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipClass(__tipClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipClass", this._tipClass);
        }
      }
                        
            if (this._tipStyle != null) {
        if (this._tipStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tipStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipStyle(__tipStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipStyle", this._tipStyle);
        }
      }
                         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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInputNumberSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSlider comp = (HtmlInputNumberSlider) 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._barClass != null) {
        if (this._barClass.isLiteralText()) {
          try {
                       
            java.lang.String __barClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarClass(__barClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barClass", this._barClass);
        }
      }
                        
            if (this._barStyle != null) {
        if (this._barStyle.isLiteralText()) {
          try {
                       
            java.lang.String __barStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarStyle(__barStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barStyle", this._barStyle);
        }
      }
                         
            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._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._handleClass != null) {
        if (this._handleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleClass(__handleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleClass", this._handleClass);
        }
      }
                        
            if (this._handleSelectedClass != null) {
        if (this._handleSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleSelectedClass(__handleSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleSelectedClass", this._handleSelectedClass);
        }
      }
                          
            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._inputPosition != null) {
        if (this._inputPosition.isLiteralText()) {
          try {
                       
            java.lang.String __inputPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputPosition(__inputPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputPosition", this._inputPosition);
        }
      }
                        
            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._maxlength != null) {
        if (this._maxlength.isLiteralText()) {
          try {
                       
            Integer __maxlength = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxlength.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxlength(__maxlength.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxlength", this._maxlength);
        }
      }
                        
            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._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._onslide != null) {
        if (this._onslide.isLiteralText()) {
          try {
                       
            java.lang.String __onslide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onslide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnslide(__onslide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onslide", this._onslide);
        }
      }
                         
            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._showBoundaryValues != null) {
        if (this._showBoundaryValues.isLiteralText()) {
          try {
                       
            Boolean __showBoundaryValues = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showBoundaryValues.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowBoundaryValues(__showBoundaryValues.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showBoundaryValues", this._showBoundaryValues);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showToolTip != null) {
        if (this._showToolTip.isLiteralText()) {
          try {
                       
            Boolean __showToolTip = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showToolTip.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowToolTip(__showToolTip.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showToolTip", this._showToolTip);
        }
      }
                         
            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);
        }
      }
                        
            if (this._tipClass != null) {
        if (this._tipClass.isLiteralText()) {
          try {
                       
            java.lang.String __tipClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipClass(__tipClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipClass", this._tipClass);
        }
      }
                        
            if (this._tipStyle != null) {
        if (this._tipStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tipStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipStyle(__tipStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipStyle", this._tipStyle);
        }
      }
                         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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInputNumberSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSlider comp = (HtmlInputNumberSlider) 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._barClass != null) {
        if (this._barClass.isLiteralText()) {
          try {
                       
            java.lang.String __barClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarClass(__barClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barClass", this._barClass);
        }
      }
                        
            if (this._barStyle != null) {
        if (this._barStyle.isLiteralText()) {
          try {
                       
            java.lang.String __barStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarStyle(__barStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barStyle", this._barStyle);
        }
      }
                         
            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._decreaseClass != null) {
        if (this._decreaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseClass(__decreaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseClass", this._decreaseClass);
        }
      }
                        
            if (this._decreaseSelectedClass != null) {
        if (this._decreaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseSelectedClass(__decreaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseSelectedClass", this._decreaseSelectedClass);
        }
      }
                        
            if (this._decreaseStyle != null) {
        if (this._decreaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseStyle(__decreaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseStyle", this._decreaseStyle);
        }
      }
                        
            if (this._delay != null) {
        if (this._delay.isLiteralText()) {
          try {
                       
            Integer __delay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._delay.getExpressionString(),
                      Integer.class);
         
                        comp.setDelay(__delay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("delay", this._delay);
        }
      }
                        
            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._handleClass != null) {
        if (this._handleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleClass(__handleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleClass", this._handleClass);
        }
      }
                        
            if (this._handleSelectedClass != null) {
        if (this._handleSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleSelectedClass(__handleSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleSelectedClass", this._handleSelectedClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            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._increaseClass != null) {
        if (this._increaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseClass(__increaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseClass", this._increaseClass);
        }
      }
                        
            if (this._increaseSelectedClass != null) {
        if (this._increaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseSelectedClass(__increaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseSelectedClass", this._increaseSelectedClass);
        }
      }
                        
            if (this._increaseStyle != null) {
        if (this._increaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __increaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseStyle(__increaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseStyle", this._increaseStyle);
        }
      }
                        
            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._inputPosition != null) {
        if (this._inputPosition.isLiteralText()) {
          try {
                       
            java.lang.String __inputPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputPosition(__inputPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputPosition", this._inputPosition);
        }
      }
                        
            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._maxlength != null) {
        if (this._maxlength.isLiteralText()) {
          try {
                       
            Integer __maxlength = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxlength.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxlength(__maxlength.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxlength", this._maxlength);
        }
      }
                        
            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._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._onslide != null) {
        if (this._onslide.isLiteralText()) {
          try {
                       
            java.lang.String __onslide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onslide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnslide(__onslide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onslide", this._onslide);
        }
      }
                        
            if (this._orientation != null) {
        if (this._orientation.isLiteralText()) {
          try {
                       
            java.lang.String __orientation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orientation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOrientation(__orientation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orientation", this._orientation);
        }
      }
                         
            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._showArrows != null) {
        if (this._showArrows.isLiteralText()) {
          try {
                       
            Boolean __showArrows = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showArrows.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowArrows(__showArrows.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showArrows", this._showArrows);
        }
      }
                        
            if (this._showBoundaryValues != null) {
        if (this._showBoundaryValues.isLiteralText()) {
          try {
                       
            Boolean __showBoundaryValues = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showBoundaryValues.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowBoundaryValues(__showBoundaryValues.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showBoundaryValues", this._showBoundaryValues);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showToolTip != null) {
        if (this._showToolTip.isLiteralText()) {
          try {
                       
            Boolean __showToolTip = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showToolTip.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowToolTip(__showToolTip.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showToolTip", this._showToolTip);
        }
      }
                         
            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);
        }
      }
                        
            if (this._tipClass != null) {
        if (this._tipClass.isLiteralText()) {
          try {
                       
            java.lang.String __tipClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipClass(__tipClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipClass", this._tipClass);
        }
      }
                        
            if (this._tipStyle != null) {
        if (this._tipStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tipStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipStyle(__tipStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipStyle", this._tipStyle);
        }
      }
                         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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInputNumberSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSlider comp = (HtmlInputNumberSlider) 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._barClass != null) {
        if (this._barClass.isLiteralText()) {
          try {
                       
            java.lang.String __barClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarClass(__barClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barClass", this._barClass);
        }
      }
                        
            if (this._barStyle != null) {
        if (this._barStyle.isLiteralText()) {
          try {
                       
            java.lang.String __barStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarStyle(__barStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barStyle", this._barStyle);
        }
      }
                         
            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._decreaseClass != null) {
        if (this._decreaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseClass(__decreaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseClass", this._decreaseClass);
        }
      }
                        
            if (this._decreaseSelectedClass != null) {
        if (this._decreaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseSelectedClass(__decreaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseSelectedClass", this._decreaseSelectedClass);
        }
      }
                        
            if (this._decreaseStyle != null) {
        if (this._decreaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseStyle(__decreaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseStyle", this._decreaseStyle);
        }
      }
                        
            if (this._delay != null) {
        if (this._delay.isLiteralText()) {
          try {
                       
            Integer __delay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._delay.getExpressionString(),
                      Integer.class);
         
                        comp.setDelay(__delay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("delay", this._delay);
        }
      }
                        
            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._handleClass != null) {
        if (this._handleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleClass(__handleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleClass", this._handleClass);
        }
      }
                        
            if (this._handleSelectedClass != null) {
        if (this._handleSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleSelectedClass(__handleSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleSelectedClass", this._handleSelectedClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            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._increaseClass != null) {
        if (this._increaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseClass(__increaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseClass", this._increaseClass);
        }
      }
                        
            if (this._increaseSelectedClass != null) {
        if (this._increaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseSelectedClass(__increaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseSelectedClass", this._increaseSelectedClass);
        }
      }
                        
            if (this._increaseStyle != null) {
        if (this._increaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __increaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseStyle(__increaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseStyle", this._increaseStyle);
        }
      }
                        
            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._inputPosition != null) {
        if (this._inputPosition.isLiteralText()) {
          try {
                       
            java.lang.String __inputPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputPosition(__inputPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputPosition", this._inputPosition);
        }
      }
                        
            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._maxlength != null) {
        if (this._maxlength.isLiteralText()) {
          try {
                       
            Integer __maxlength = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxlength.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxlength(__maxlength.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxlength", this._maxlength);
        }
      }
                        
            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._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._onslide != null) {
        if (this._onslide.isLiteralText()) {
          try {
                       
            java.lang.String __onslide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onslide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnslide(__onslide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onslide", this._onslide);
        }
      }
                        
            if (this._orientation != null) {
        if (this._orientation.isLiteralText()) {
          try {
                       
            java.lang.String __orientation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orientation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOrientation(__orientation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orientation", this._orientation);
        }
      }
                         
            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._showArrows != null) {
        if (this._showArrows.isLiteralText()) {
          try {
                       
            Boolean __showArrows = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showArrows.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowArrows(__showArrows.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showArrows", this._showArrows);
        }
      }
                        
            if (this._showBoundaryValues != null) {
        if (this._showBoundaryValues.isLiteralText()) {
          try {
                       
            Boolean __showBoundaryValues = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showBoundaryValues.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowBoundaryValues(__showBoundaryValues.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showBoundaryValues", this._showBoundaryValues);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showToolTip != null) {
        if (this._showToolTip.isLiteralText()) {
          try {
                       
            Boolean __showToolTip = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showToolTip.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowToolTip(__showToolTip.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showToolTip", this._showToolTip);
        }
      }
                         
            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);
        }
      }
                        
            if (this._tipClass != null) {
        if (this._tipClass.isLiteralText()) {
          try {
                       
            java.lang.String __tipClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipClass(__tipClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipClass", this._tipClass);
        }
      }
                        
            if (this._tipStyle != null) {
        if (this._tipStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tipStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipStyle(__tipStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipStyle", this._tipStyle);
        }
      }
                         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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInputNumberSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInputNumberSlider comp = (HtmlInputNumberSlider) 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._barClass != null) {
        if (this._barClass.isLiteralText()) {
          try {
                       
            java.lang.String __barClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarClass(__barClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barClass", this._barClass);
        }
      }
                        
            if (this._barStyle != null) {
        if (this._barStyle.isLiteralText()) {
          try {
                       
            java.lang.String __barStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._barStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBarStyle(__barStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("barStyle", this._barStyle);
        }
      }
                         
            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._decreaseClass != null) {
        if (this._decreaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseClass(__decreaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseClass", this._decreaseClass);
        }
      }
                        
            if (this._decreaseSelectedClass != null) {
        if (this._decreaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseSelectedClass(__decreaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseSelectedClass", this._decreaseSelectedClass);
        }
      }
                        
            if (this._decreaseStyle != null) {
        if (this._decreaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __decreaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._decreaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDecreaseStyle(__decreaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("decreaseStyle", this._decreaseStyle);
        }
      }
                        
            if (this._delay != null) {
        if (this._delay.isLiteralText()) {
          try {
                       
            Integer __delay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._delay.getExpressionString(),
                      Integer.class);
         
                        comp.setDelay(__delay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("delay", this._delay);
        }
      }
                        
            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._handleClass != null) {
        if (this._handleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleClass(__handleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleClass", this._handleClass);
        }
      }
                        
            if (this._handleSelectedClass != null) {
        if (this._handleSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleSelectedClass(__handleSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleSelectedClass", this._handleSelectedClass);
        }
      }
                        
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.String __height = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            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._increaseClass != null) {
        if (this._increaseClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseClass(__increaseClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseClass", this._increaseClass);
        }
      }
                        
            if (this._increaseSelectedClass != null) {
        if (this._increaseSelectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __increaseSelectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseSelectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseSelectedClass(__increaseSelectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseSelectedClass", this._increaseSelectedClass);
        }
      }
                        
            if (this._increaseStyle != null) {
        if (this._increaseStyle.isLiteralText()) {
          try {
                       
            java.lang.String __increaseStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increaseStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIncreaseStyle(__increaseStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increaseStyle", this._increaseStyle);
        }
      }
                        
            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._inputPosition != null) {
        if (this._inputPosition.isLiteralText()) {
          try {
                       
            java.lang.String __inputPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputPosition(__inputPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputPosition", this._inputPosition);
        }
      }
                        
            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._maxlength != null) {
        if (this._maxlength.isLiteralText()) {
          try {
                       
            Integer __maxlength = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxlength.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxlength(__maxlength.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxlength", this._maxlength);
        }
      }
                        
            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._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._onslide != null) {
        if (this._onslide.isLiteralText()) {
          try {
                       
            java.lang.String __onslide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onslide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnslide(__onslide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onslide", this._onslide);
        }
      }
                        
            if (this._orientation != null) {
        if (this._orientation.isLiteralText()) {
          try {
                       
            java.lang.String __orientation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orientation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOrientation(__orientation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orientation", this._orientation);
        }
      }
                         
            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._showArrows != null) {
        if (this._showArrows.isLiteralText()) {
          try {
                       
            Boolean __showArrows = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showArrows.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowArrows(__showArrows.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showArrows", this._showArrows);
        }
      }
                        
            if (this._showBoundaryValues != null) {
        if (this._showBoundaryValues.isLiteralText()) {
          try {
                       
            Boolean __showBoundaryValues = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showBoundaryValues.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowBoundaryValues(__showBoundaryValues.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showBoundaryValues", this._showBoundaryValues);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showToolTip != null) {
        if (this._showToolTip.isLiteralText()) {
          try {
                       
            Boolean __showToolTip = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showToolTip.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowToolTip(__showToolTip.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showToolTip", this._showToolTip);
        }
      }
                         
            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);
        }
      }
                        
            if (this._tipClass != null) {
        if (this._tipClass.isLiteralText()) {
          try {
                       
            java.lang.String __tipClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipClass(__tipClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipClass", this._tipClass);
        }
      }
                        
            if (this._tipStyle != null) {
        if (this._tipStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tipStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tipStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTipStyle(__tipStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tipStyle", this._tipStyle);
        }
      }
                         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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.String __width = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.