Examples of HtmlDataFilterSlider


Examples of org.richfaces.component.html.HtmlDataFilterSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataFilterSlider comp = (HtmlDataFilterSlider) component;
             setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                     
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            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);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._endRange != null) {
        if (this._endRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __endRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._endRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setEndRange(__endRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("endRange", this._endRange);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._fieldStyleClass != null) {
        if (this._fieldStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __fieldStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fieldStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFieldStyleClass(__fieldStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fieldStyleClass", this._fieldStyleClass);
        }
      }
                        
            if (this._filterBy != null) {
        if (this._filterBy.isLiteralText()) {
          try {
                       
            java.lang.String __filterBy = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._filterBy.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFilterBy(__filterBy);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("filterBy", this._filterBy);
        }
      }
                        
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._forValRef != null) {
        if (this._forValRef.isLiteralText()) {
          try {
                       
            java.lang.String __forValRef = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._forValRef.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setForValRef(__forValRef);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("forValRef", this._forValRef);
        }
      }
                        
            if (this._handleStyleClass != null) {
        if (this._handleStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleStyleClass(__handleStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleStyleClass", this._handleStyleClass);
        }
      }
                        
            if (this._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.Integer __handleValue = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHandleValue(__handleValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleValue", this._handleValue);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            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._increment != null) {
        if (this._increment.isLiteralText()) {
          try {
                       
            java.lang.Integer __increment = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increment.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setIncrement(__increment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increment", this._increment);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._manualInput != null) {
        if (this._manualInput.isLiteralText()) {
          try {
                       
            Boolean __manualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._manualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setManualInput(__manualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("manualInput", this._manualInput);
        }
      }
                         
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            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._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            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._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._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._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._rangeStyleClass != null) {
        if (this._rangeStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __rangeStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rangeStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRangeStyleClass(__rangeStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rangeStyleClass", this._rangeStyleClass);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        if(null != this._sliderListener){
             if (!this._sliderListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._sliderListener);
                ((HtmlDataFilterSlider)component).setSliderListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid sliderListener value: " + this._sliderListener);
             }
      }
                    
            if (this._startRange != null) {
        if (this._startRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __startRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._startRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setStartRange(__startRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("startRange", this._startRange);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._storeResults != null) {
        if (this._storeResults.isLiteralText()) {
          try {
                       
            Boolean __storeResults = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._storeResults.getExpressionString(),
                      Boolean.class);
         
                        comp.setStoreResults(__storeResults.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("storeResults", this._storeResults);
        }
      }
                           
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._trackStyleClass != null) {
        if (this._trackStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trackStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trackStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrackStyleClass(__trackStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trackStyleClass", this._trackStyleClass);
        }
      }
                        
            if (this._trailer != null) {
        if (this._trailer.isLiteralText()) {
          try {
                       
            Boolean __trailer = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailer.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrailer(__trailer.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailer", this._trailer);
        }
      }
                        
            if (this._trailerStyleClass != null) {
        if (this._trailerStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trailerStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailerStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrailerStyleClass(__trailerStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailerStyleClass", this._trailerStyleClass);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._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.HtmlDataFilterSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataFilterSlider comp = (HtmlDataFilterSlider) component;
             setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                    
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            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);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._endRange != null) {
        if (this._endRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __endRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._endRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setEndRange(__endRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("endRange", this._endRange);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._fieldStyleClass != null) {
        if (this._fieldStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __fieldStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fieldStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFieldStyleClass(__fieldStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fieldStyleClass", this._fieldStyleClass);
        }
      }
                        
            if (this._filterBy != null) {
        if (this._filterBy.isLiteralText()) {
          try {
                       
            java.lang.String __filterBy = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._filterBy.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFilterBy(__filterBy);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("filterBy", this._filterBy);
        }
      }
                        
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._forValRef != null) {
        if (this._forValRef.isLiteralText()) {
          try {
                       
            java.lang.String __forValRef = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._forValRef.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setForValRef(__forValRef);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("forValRef", this._forValRef);
        }
      }
                        
            if (this._handleStyleClass != null) {
        if (this._handleStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleStyleClass(__handleStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleStyleClass", this._handleStyleClass);
        }
      }
                        
            if (this._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.Integer __handleValue = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHandleValue(__handleValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleValue", this._handleValue);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            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._increment != null) {
        if (this._increment.isLiteralText()) {
          try {
                       
            java.lang.Integer __increment = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increment.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setIncrement(__increment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increment", this._increment);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._manualInput != null) {
        if (this._manualInput.isLiteralText()) {
          try {
                       
            Boolean __manualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._manualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setManualInput(__manualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("manualInput", this._manualInput);
        }
      }
                         
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            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._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            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._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._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._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._rangeStyleClass != null) {
        if (this._rangeStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __rangeStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rangeStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRangeStyleClass(__rangeStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rangeStyleClass", this._rangeStyleClass);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        if(null != this._sliderListener){
             if (!this._sliderListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._sliderListener);
                ((HtmlDataFilterSlider)component).setSliderListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid sliderListener value: " + this._sliderListener);
             }
      }
                    
            if (this._startRange != null) {
        if (this._startRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __startRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._startRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setStartRange(__startRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("startRange", this._startRange);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._storeResults != null) {
        if (this._storeResults.isLiteralText()) {
          try {
                       
            Boolean __storeResults = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._storeResults.getExpressionString(),
                      Boolean.class);
         
                        comp.setStoreResults(__storeResults.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("storeResults", this._storeResults);
        }
      }
                           
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._trackStyleClass != null) {
        if (this._trackStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trackStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trackStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrackStyleClass(__trackStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trackStyleClass", this._trackStyleClass);
        }
      }
                        
            if (this._trailer != null) {
        if (this._trailer.isLiteralText()) {
          try {
                       
            Boolean __trailer = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailer.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrailer(__trailer.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailer", this._trailer);
        }
      }
                        
            if (this._trailerStyleClass != null) {
        if (this._trailerStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trailerStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailerStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrailerStyleClass(__trailerStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailerStyleClass", this._trailerStyleClass);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._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.HtmlDataFilterSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataFilterSlider comp = (HtmlDataFilterSlider) component;
             setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                     
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            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);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._endRange != null) {
        if (this._endRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __endRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._endRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setEndRange(__endRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("endRange", this._endRange);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._fieldStyleClass != null) {
        if (this._fieldStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __fieldStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fieldStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFieldStyleClass(__fieldStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fieldStyleClass", this._fieldStyleClass);
        }
      }
                        
            if (this._filterBy != null) {
        if (this._filterBy.isLiteralText()) {
          try {
                       
            java.lang.String __filterBy = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._filterBy.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFilterBy(__filterBy);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("filterBy", this._filterBy);
        }
      }
                        
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._forValRef != null) {
        if (this._forValRef.isLiteralText()) {
          try {
                       
            java.lang.String __forValRef = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._forValRef.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setForValRef(__forValRef);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("forValRef", this._forValRef);
        }
      }
                        
            if (this._handleStyleClass != null) {
        if (this._handleStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleStyleClass(__handleStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleStyleClass", this._handleStyleClass);
        }
      }
                        
            if (this._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.Integer __handleValue = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHandleValue(__handleValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleValue", this._handleValue);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            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._increment != null) {
        if (this._increment.isLiteralText()) {
          try {
                       
            java.lang.Integer __increment = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increment.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setIncrement(__increment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increment", this._increment);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._manualInput != null) {
        if (this._manualInput.isLiteralText()) {
          try {
                       
            Boolean __manualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._manualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setManualInput(__manualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("manualInput", this._manualInput);
        }
      }
                         
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            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._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            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._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._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._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._rangeStyleClass != null) {
        if (this._rangeStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __rangeStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rangeStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRangeStyleClass(__rangeStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rangeStyleClass", this._rangeStyleClass);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        if(null != this._sliderListener){
             if (!this._sliderListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._sliderListener);
                ((HtmlDataFilterSlider)component).setSliderListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid sliderListener value: " + this._sliderListener);
             }
      }
                    
            if (this._startRange != null) {
        if (this._startRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __startRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._startRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setStartRange(__startRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("startRange", this._startRange);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._storeResults != null) {
        if (this._storeResults.isLiteralText()) {
          try {
                       
            Boolean __storeResults = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._storeResults.getExpressionString(),
                      Boolean.class);
         
                        comp.setStoreResults(__storeResults.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("storeResults", this._storeResults);
        }
      }
                           
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._trackStyleClass != null) {
        if (this._trackStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trackStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trackStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrackStyleClass(__trackStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trackStyleClass", this._trackStyleClass);
        }
      }
                        
            if (this._trailer != null) {
        if (this._trailer.isLiteralText()) {
          try {
                       
            Boolean __trailer = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailer.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrailer(__trailer.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailer", this._trailer);
        }
      }
                        
            if (this._trailerStyleClass != null) {
        if (this._trailerStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trailerStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailerStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrailerStyleClass(__trailerStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailerStyleClass", this._trailerStyleClass);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._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.HtmlDataFilterSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataFilterSlider comp = (HtmlDataFilterSlider) component;
             setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                     
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            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);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._endRange != null) {
        if (this._endRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __endRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._endRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setEndRange(__endRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("endRange", this._endRange);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._fieldStyleClass != null) {
        if (this._fieldStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __fieldStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fieldStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFieldStyleClass(__fieldStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fieldStyleClass", this._fieldStyleClass);
        }
      }
                        
            if (this._filterBy != null) {
        if (this._filterBy.isLiteralText()) {
          try {
                       
            java.lang.String __filterBy = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._filterBy.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFilterBy(__filterBy);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("filterBy", this._filterBy);
        }
      }
                        
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._forValRef != null) {
        if (this._forValRef.isLiteralText()) {
          try {
                       
            java.lang.String __forValRef = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._forValRef.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setForValRef(__forValRef);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("forValRef", this._forValRef);
        }
      }
                        
            if (this._handleStyleClass != null) {
        if (this._handleStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleStyleClass(__handleStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleStyleClass", this._handleStyleClass);
        }
      }
                        
            if (this._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.Integer __handleValue = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHandleValue(__handleValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleValue", this._handleValue);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            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._increment != null) {
        if (this._increment.isLiteralText()) {
          try {
                       
            java.lang.Integer __increment = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increment.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setIncrement(__increment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increment", this._increment);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._manualInput != null) {
        if (this._manualInput.isLiteralText()) {
          try {
                       
            Boolean __manualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._manualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setManualInput(__manualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("manualInput", this._manualInput);
        }
      }
                         
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            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._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            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._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._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._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._rangeStyleClass != null) {
        if (this._rangeStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __rangeStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rangeStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRangeStyleClass(__rangeStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rangeStyleClass", this._rangeStyleClass);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        if(null != this._sliderListener){
             if (!this._sliderListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._sliderListener);
                ((HtmlDataFilterSlider)component).setSliderListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid sliderListener value: " + this._sliderListener);
             }
      }
                    
            if (this._startRange != null) {
        if (this._startRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __startRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._startRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setStartRange(__startRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("startRange", this._startRange);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._storeResults != null) {
        if (this._storeResults.isLiteralText()) {
          try {
                       
            Boolean __storeResults = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._storeResults.getExpressionString(),
                      Boolean.class);
         
                        comp.setStoreResults(__storeResults.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("storeResults", this._storeResults);
        }
      }
                           
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._trackStyleClass != null) {
        if (this._trackStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trackStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trackStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrackStyleClass(__trackStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trackStyleClass", this._trackStyleClass);
        }
      }
                        
            if (this._trailer != null) {
        if (this._trailer.isLiteralText()) {
          try {
                       
            Boolean __trailer = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailer.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrailer(__trailer.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailer", this._trailer);
        }
      }
                        
            if (this._trailerStyleClass != null) {
        if (this._trailerStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trailerStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailerStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrailerStyleClass(__trailerStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailerStyleClass", this._trailerStyleClass);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._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.HtmlDataFilterSlider

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDataFilterSlider comp = (HtmlDataFilterSlider) component;
             setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                    
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        
            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);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._endRange != null) {
        if (this._endRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __endRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._endRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setEndRange(__endRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("endRange", this._endRange);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._fieldStyleClass != null) {
        if (this._fieldStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __fieldStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fieldStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFieldStyleClass(__fieldStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fieldStyleClass", this._fieldStyleClass);
        }
      }
                        
            if (this._filterBy != null) {
        if (this._filterBy.isLiteralText()) {
          try {
                       
            java.lang.String __filterBy = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._filterBy.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFilterBy(__filterBy);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("filterBy", this._filterBy);
        }
      }
                        
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._forValRef != null) {
        if (this._forValRef.isLiteralText()) {
          try {
                       
            java.lang.String __forValRef = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._forValRef.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setForValRef(__forValRef);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("forValRef", this._forValRef);
        }
      }
                        
            if (this._handleStyleClass != null) {
        if (this._handleStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __handleStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHandleStyleClass(__handleStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleStyleClass", this._handleStyleClass);
        }
      }
                        
            if (this._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.Integer __handleValue = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHandleValue(__handleValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("handleValue", this._handleValue);
        }
      }
                         
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            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._increment != null) {
        if (this._increment.isLiteralText()) {
          try {
                       
            java.lang.Integer __increment = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._increment.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setIncrement(__increment);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("increment", this._increment);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._manualInput != null) {
        if (this._manualInput.isLiteralText()) {
          try {
                       
            Boolean __manualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._manualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setManualInput(__manualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("manualInput", this._manualInput);
        }
      }
                         
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            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._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            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._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._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._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._rangeStyleClass != null) {
        if (this._rangeStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __rangeStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rangeStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRangeStyleClass(__rangeStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rangeStyleClass", this._rangeStyleClass);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        if(null != this._sliderListener){
             if (!this._sliderListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._sliderListener);
                ((HtmlDataFilterSlider)component).setSliderListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid sliderListener value: " + this._sliderListener);
             }
      }
                    
            if (this._startRange != null) {
        if (this._startRange.isLiteralText()) {
          try {
                       
            java.lang.Integer __startRange = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._startRange.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setStartRange(__startRange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("startRange", this._startRange);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._storeResults != null) {
        if (this._storeResults.isLiteralText()) {
          try {
                       
            Boolean __storeResults = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._storeResults.getExpressionString(),
                      Boolean.class);
         
                        comp.setStoreResults(__storeResults.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("storeResults", this._storeResults);
        }
      }
                           
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._trackStyleClass != null) {
        if (this._trackStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trackStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trackStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrackStyleClass(__trackStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trackStyleClass", this._trackStyleClass);
        }
      }
                        
            if (this._trailer != null) {
        if (this._trailer.isLiteralText()) {
          try {
                       
            Boolean __trailer = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailer.getExpressionString(),
                      Boolean.class);
         
                        comp.setTrailer(__trailer.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailer", this._trailer);
        }
      }
                        
            if (this._trailerStyleClass != null) {
        if (this._trailerStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __trailerStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._trailerStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTrailerStyleClass(__trailerStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("trailerStyleClass", this._trailerStyleClass);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._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.