Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlDatascroller


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDatascroller comp = (HtmlDatascroller) 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._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                         
            if (this._boundaryControls != null) {
        if (this._boundaryControls.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryControls(__boundaryControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryControls", this._boundaryControls);
        }
      }
                        
            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._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._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._fastControls != null) {
        if (this._fastControls.isLiteralText()) {
          try {
                       
            java.lang.String __fastControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFastControls(__fastControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastControls", this._fastControls);
        }
      }
                          
            if (this._fastStep != null) {
        if (this._fastStep.isLiteralText()) {
          try {
                       
            Integer __fastStep = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastStep.getExpressionString(),
                      Integer.class);
         
                        comp.setFastStep(__fastStep.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastStep", this._fastStep);
        }
      }
                          
            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._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.String __handleValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.String.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._inactiveStyle != null) {
        if (this._inactiveStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyle(__inactiveStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyle", this._inactiveStyle);
        }
      }
                        
            if (this._inactiveStyleClass != null) {
        if (this._inactiveStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyleClass(__inactiveStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyleClass", this._inactiveStyleClass);
        }
      }
                         
            if (this._lastPageMode != null) {
        if (this._lastPageMode.isLiteralText()) {
          try {
                       
            java.lang.String __lastPageMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._lastPageMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLastPageMode(__lastPageMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("lastPageMode", this._lastPageMode);
        }
      }
                        
            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._maxPages != null) {
        if (this._maxPages.isLiteralText()) {
          try {
                       
            Integer __maxPages = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxPages.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxPages(__maxPages.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxPages", this._maxPages);
        }
      }
                         
            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._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._onpagechange != null) {
        if (this._onpagechange.isLiteralText()) {
          try {
                       
            java.lang.String __onpagechange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onpagechange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnpagechange(__onpagechange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onpagechange", this._onpagechange);
        }
      }
                        
            if (this._page != null) {
        if (this._page.isLiteralText()) {
          try {
                       
            Integer __page = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._page.getExpressionString(),
                      Integer.class);
         
                        comp.setPage(__page.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("page", this._page);
        }
      }
                          
            if (this._pageIndexVar != null) {
        if (this._pageIndexVar.isLiteralText()) {
          try {
                       
            java.lang.String __pageIndexVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageIndexVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageIndexVar(__pageIndexVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageIndexVar", this._pageIndexVar);
        }
      }
                        
            if (this._pagesVar != null) {
        if (this._pagesVar.isLiteralText()) {
          try {
                       
            java.lang.String __pagesVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pagesVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPagesVar(__pagesVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pagesVar", this._pagesVar);
        }
      }
                         
            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._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._renderIfSinglePage != null) {
        if (this._renderIfSinglePage.isLiteralText()) {
          try {
                       
            Boolean __renderIfSinglePage = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderIfSinglePage.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderIfSinglePage(__renderIfSinglePage.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderIfSinglePage", this._renderIfSinglePage);
        }
      }
                         
            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._scrollerListener){
        ((HtmlDatascroller)component).setScrollerListener(this._scrollerListener);
      }   
                   
            if (this._selectedStyle != null) {
        if (this._selectedStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyle(__selectedStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyle", this._selectedStyle);
        }
      }
                        
            if (this._selectedStyleClass != null) {
        if (this._selectedStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyleClass(__selectedStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyleClass", this._selectedStyleClass);
        }
      }
                        
            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 (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._stepControls != null) {
        if (this._stepControls.isLiteralText()) {
          try {
                       
            java.lang.String __stepControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._stepControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStepControls(__stepControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("stepControls", this._stepControls);
        }
      }
                          
            if (this._tableStyle != null) {
        if (this._tableStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyle(__tableStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyle", this._tableStyle);
        }
      }
                        
            if (this._tableStyleClass != null) {
        if (this._tableStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyleClass(__tableStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyleClass", this._tableStyleClass);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDatascroller comp = (HtmlDatascroller) 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._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                         
            if (this._boundaryControls != null) {
        if (this._boundaryControls.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryControls(__boundaryControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryControls", this._boundaryControls);
        }
      }
                        
            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._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._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._fastControls != null) {
        if (this._fastControls.isLiteralText()) {
          try {
                       
            java.lang.String __fastControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFastControls(__fastControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastControls", this._fastControls);
        }
      }
                          
            if (this._fastStep != null) {
        if (this._fastStep.isLiteralText()) {
          try {
                       
            Integer __fastStep = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastStep.getExpressionString(),
                      Integer.class);
         
                        comp.setFastStep(__fastStep.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastStep", this._fastStep);
        }
      }
                          
            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._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.String __handleValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.String.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._inactiveStyle != null) {
        if (this._inactiveStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyle(__inactiveStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyle", this._inactiveStyle);
        }
      }
                        
            if (this._inactiveStyleClass != null) {
        if (this._inactiveStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyleClass(__inactiveStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyleClass", this._inactiveStyleClass);
        }
      }
                         
            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._maxPages != null) {
        if (this._maxPages.isLiteralText()) {
          try {
                       
            Integer __maxPages = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxPages.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxPages(__maxPages.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxPages", this._maxPages);
        }
      }
                         
            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._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._onpagechange != null) {
        if (this._onpagechange.isLiteralText()) {
          try {
                       
            java.lang.String __onpagechange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onpagechange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnpagechange(__onpagechange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onpagechange", this._onpagechange);
        }
      }
                        
            if (this._page != null) {
        if (this._page.isLiteralText()) {
          try {
                       
            Integer __page = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._page.getExpressionString(),
                      Integer.class);
         
                        comp.setPage(__page.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("page", this._page);
        }
      }
                          
            if (this._pageIndexVar != null) {
        if (this._pageIndexVar.isLiteralText()) {
          try {
                       
            java.lang.String __pageIndexVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageIndexVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageIndexVar(__pageIndexVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageIndexVar", this._pageIndexVar);
        }
      }
                        
            if (this._pagesVar != null) {
        if (this._pagesVar.isLiteralText()) {
          try {
                       
            java.lang.String __pagesVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pagesVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPagesVar(__pagesVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pagesVar", this._pagesVar);
        }
      }
                         
            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._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._renderIfSinglePage != null) {
        if (this._renderIfSinglePage.isLiteralText()) {
          try {
                       
            Boolean __renderIfSinglePage = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderIfSinglePage.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderIfSinglePage(__renderIfSinglePage.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderIfSinglePage", this._renderIfSinglePage);
        }
      }
                         
            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._scrollerListener){
        ((HtmlDatascroller)component).setScrollerListener(this._scrollerListener);
      }   
                   
            if (this._selectedStyle != null) {
        if (this._selectedStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyle(__selectedStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyle", this._selectedStyle);
        }
      }
                        
            if (this._selectedStyleClass != null) {
        if (this._selectedStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyleClass(__selectedStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyleClass", this._selectedStyleClass);
        }
      }
                        
            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._stepControls != null) {
        if (this._stepControls.isLiteralText()) {
          try {
                       
            java.lang.String __stepControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._stepControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStepControls(__stepControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("stepControls", this._stepControls);
        }
      }
                          
            if (this._tableStyle != null) {
        if (this._tableStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyle(__tableStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyle", this._tableStyle);
        }
      }
                        
            if (this._tableStyleClass != null) {
        if (this._tableStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyleClass(__tableStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyleClass", this._tableStyleClass);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDatascroller comp = (HtmlDatascroller) 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._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                         
            if (this._boundaryControls != null) {
        if (this._boundaryControls.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryControls(__boundaryControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryControls", this._boundaryControls);
        }
      }
                        
            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._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._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._fastControls != null) {
        if (this._fastControls.isLiteralText()) {
          try {
                       
            java.lang.String __fastControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFastControls(__fastControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastControls", this._fastControls);
        }
      }
                          
            if (this._fastStep != null) {
        if (this._fastStep.isLiteralText()) {
          try {
                       
            Integer __fastStep = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastStep.getExpressionString(),
                      Integer.class);
         
                        comp.setFastStep(__fastStep.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastStep", this._fastStep);
        }
      }
                          
            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._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.String __handleValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.String.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._inactiveStyle != null) {
        if (this._inactiveStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyle(__inactiveStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyle", this._inactiveStyle);
        }
      }
                        
            if (this._inactiveStyleClass != null) {
        if (this._inactiveStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyleClass(__inactiveStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyleClass", this._inactiveStyleClass);
        }
      }
                         
            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._maxPages != null) {
        if (this._maxPages.isLiteralText()) {
          try {
                       
            Integer __maxPages = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxPages.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxPages(__maxPages.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxPages", this._maxPages);
        }
      }
                         
            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._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._onpagechange != null) {
        if (this._onpagechange.isLiteralText()) {
          try {
                       
            java.lang.String __onpagechange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onpagechange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnpagechange(__onpagechange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onpagechange", this._onpagechange);
        }
      }
                        
            if (this._page != null) {
        if (this._page.isLiteralText()) {
          try {
                       
            Integer __page = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._page.getExpressionString(),
                      Integer.class);
         
                        comp.setPage(__page.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("page", this._page);
        }
      }
                          
            if (this._pageIndexVar != null) {
        if (this._pageIndexVar.isLiteralText()) {
          try {
                       
            java.lang.String __pageIndexVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageIndexVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageIndexVar(__pageIndexVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageIndexVar", this._pageIndexVar);
        }
      }
                        
            if (this._pagesVar != null) {
        if (this._pagesVar.isLiteralText()) {
          try {
                       
            java.lang.String __pagesVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pagesVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPagesVar(__pagesVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pagesVar", this._pagesVar);
        }
      }
                         
            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._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._renderIfSinglePage != null) {
        if (this._renderIfSinglePage.isLiteralText()) {
          try {
                       
            Boolean __renderIfSinglePage = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderIfSinglePage.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderIfSinglePage(__renderIfSinglePage.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderIfSinglePage", this._renderIfSinglePage);
        }
      }
                         
            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._scrollerListener){
        ((HtmlDatascroller)component).setScrollerListener(this._scrollerListener);
      }   
                   
            if (this._selectedStyle != null) {
        if (this._selectedStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyle(__selectedStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyle", this._selectedStyle);
        }
      }
                        
            if (this._selectedStyleClass != null) {
        if (this._selectedStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyleClass(__selectedStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyleClass", this._selectedStyleClass);
        }
      }
                        
            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 (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._stepControls != null) {
        if (this._stepControls.isLiteralText()) {
          try {
                       
            java.lang.String __stepControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._stepControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStepControls(__stepControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("stepControls", this._stepControls);
        }
      }
                          
            if (this._tableStyle != null) {
        if (this._tableStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyle(__tableStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyle", this._tableStyle);
        }
      }
                        
            if (this._tableStyleClass != null) {
        if (this._tableStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyleClass(__tableStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyleClass", this._tableStyleClass);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDatascroller comp = (HtmlDatascroller) 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._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                         
            if (this._boundaryControls != null) {
        if (this._boundaryControls.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryControls(__boundaryControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryControls", this._boundaryControls);
        }
      }
                        
            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._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._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._fastControls != null) {
        if (this._fastControls.isLiteralText()) {
          try {
                       
            java.lang.String __fastControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFastControls(__fastControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastControls", this._fastControls);
        }
      }
                          
            if (this._fastStep != null) {
        if (this._fastStep.isLiteralText()) {
          try {
                       
            Integer __fastStep = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastStep.getExpressionString(),
                      Integer.class);
         
                        comp.setFastStep(__fastStep.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastStep", this._fastStep);
        }
      }
                          
            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._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.String __handleValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.String.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._inactiveStyle != null) {
        if (this._inactiveStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyle(__inactiveStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyle", this._inactiveStyle);
        }
      }
                        
            if (this._inactiveStyleClass != null) {
        if (this._inactiveStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyleClass(__inactiveStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyleClass", this._inactiveStyleClass);
        }
      }
                         
            if (this._lastPageMode != null) {
        if (this._lastPageMode.isLiteralText()) {
          try {
                       
            java.lang.String __lastPageMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._lastPageMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLastPageMode(__lastPageMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("lastPageMode", this._lastPageMode);
        }
      }
                        
            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._maxPages != null) {
        if (this._maxPages.isLiteralText()) {
          try {
                       
            Integer __maxPages = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxPages.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxPages(__maxPages.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxPages", this._maxPages);
        }
      }
                         
            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._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._onpagechange != null) {
        if (this._onpagechange.isLiteralText()) {
          try {
                       
            java.lang.String __onpagechange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onpagechange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnpagechange(__onpagechange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onpagechange", this._onpagechange);
        }
      }
                        
            if (this._page != null) {
        if (this._page.isLiteralText()) {
          try {
                       
            Integer __page = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._page.getExpressionString(),
                      Integer.class);
         
                        comp.setPage(__page.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("page", this._page);
        }
      }
                          
            if (this._pageIndexVar != null) {
        if (this._pageIndexVar.isLiteralText()) {
          try {
                       
            java.lang.String __pageIndexVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageIndexVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageIndexVar(__pageIndexVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageIndexVar", this._pageIndexVar);
        }
      }
                        
            if (this._pagesVar != null) {
        if (this._pagesVar.isLiteralText()) {
          try {
                       
            java.lang.String __pagesVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pagesVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPagesVar(__pagesVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pagesVar", this._pagesVar);
        }
      }
                         
            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._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._renderIfSinglePage != null) {
        if (this._renderIfSinglePage.isLiteralText()) {
          try {
                       
            Boolean __renderIfSinglePage = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderIfSinglePage.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderIfSinglePage(__renderIfSinglePage.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderIfSinglePage", this._renderIfSinglePage);
        }
      }
                         
            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._scrollerListener){
        ((HtmlDatascroller)component).setScrollerListener(this._scrollerListener);
      }   
                   
            if (this._selectedStyle != null) {
        if (this._selectedStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyle(__selectedStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyle", this._selectedStyle);
        }
      }
                        
            if (this._selectedStyleClass != null) {
        if (this._selectedStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyleClass(__selectedStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyleClass", this._selectedStyleClass);
        }
      }
                        
            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 (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._stepControls != null) {
        if (this._stepControls.isLiteralText()) {
          try {
                       
            java.lang.String __stepControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._stepControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStepControls(__stepControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("stepControls", this._stepControls);
        }
      }
                          
            if (this._tableStyle != null) {
        if (this._tableStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyle(__tableStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyle", this._tableStyle);
        }
      }
                        
            if (this._tableStyleClass != null) {
        if (this._tableStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyleClass(__tableStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyleClass", this._tableStyleClass);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDatascroller comp = (HtmlDatascroller) 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._align != null) {
        if (this._align.isLiteralText()) {
          try {
                       
            java.lang.String __align = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._align.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAlign(__align);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("align", this._align);
        }
      }
                         
            if (this._boundaryControls != null) {
        if (this._boundaryControls.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryControls(__boundaryControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryControls", this._boundaryControls);
        }
      }
                        
            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._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._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._fastControls != null) {
        if (this._fastControls.isLiteralText()) {
          try {
                       
            java.lang.String __fastControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFastControls(__fastControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastControls", this._fastControls);
        }
      }
                          
            if (this._fastStep != null) {
        if (this._fastStep.isLiteralText()) {
          try {
                       
            Integer __fastStep = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastStep.getExpressionString(),
                      Integer.class);
         
                        comp.setFastStep(__fastStep.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastStep", this._fastStep);
        }
      }
                          
            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._handleValue != null) {
        if (this._handleValue.isLiteralText()) {
          try {
                       
            java.lang.String __handleValue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._handleValue.getExpressionString(),
                      java.lang.String.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._inactiveStyle != null) {
        if (this._inactiveStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyle(__inactiveStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyle", this._inactiveStyle);
        }
      }
                        
            if (this._inactiveStyleClass != null) {
        if (this._inactiveStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __inactiveStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inactiveStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInactiveStyleClass(__inactiveStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inactiveStyleClass", this._inactiveStyleClass);
        }
      }
                         
            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._maxPages != null) {
        if (this._maxPages.isLiteralText()) {
          try {
                       
            Integer __maxPages = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxPages.getExpressionString(),
                      Integer.class);
         
                        comp.setMaxPages(__maxPages.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxPages", this._maxPages);
        }
      }
                         
            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._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._onpagechange != null) {
        if (this._onpagechange.isLiteralText()) {
          try {
                       
            java.lang.String __onpagechange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onpagechange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnpagechange(__onpagechange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onpagechange", this._onpagechange);
        }
      }
                        
            if (this._page != null) {
        if (this._page.isLiteralText()) {
          try {
                       
            Integer __page = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._page.getExpressionString(),
                      Integer.class);
         
                        comp.setPage(__page.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("page", this._page);
        }
      }
                          
            if (this._pageIndexVar != null) {
        if (this._pageIndexVar.isLiteralText()) {
          try {
                       
            java.lang.String __pageIndexVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pageIndexVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPageIndexVar(__pageIndexVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pageIndexVar", this._pageIndexVar);
        }
      }
                        
            if (this._pagesVar != null) {
        if (this._pagesVar.isLiteralText()) {
          try {
                       
            java.lang.String __pagesVar = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._pagesVar.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPagesVar(__pagesVar);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("pagesVar", this._pagesVar);
        }
      }
                         
            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._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._renderIfSinglePage != null) {
        if (this._renderIfSinglePage.isLiteralText()) {
          try {
                       
            Boolean __renderIfSinglePage = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._renderIfSinglePage.getExpressionString(),
                      Boolean.class);
         
                        comp.setRenderIfSinglePage(__renderIfSinglePage.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("renderIfSinglePage", this._renderIfSinglePage);
        }
      }
                         
            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._scrollerListener){
        ((HtmlDatascroller)component).setScrollerListener(this._scrollerListener);
      }   
                   
            if (this._selectedStyle != null) {
        if (this._selectedStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyle(__selectedStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyle", this._selectedStyle);
        }
      }
                        
            if (this._selectedStyleClass != null) {
        if (this._selectedStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedStyleClass(__selectedStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedStyleClass", this._selectedStyleClass);
        }
      }
                        
            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 (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._stepControls != null) {
        if (this._stepControls.isLiteralText()) {
          try {
                       
            java.lang.String __stepControls = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._stepControls.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStepControls(__stepControls);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("stepControls", this._stepControls);
        }
      }
                          
            if (this._tableStyle != null) {
        if (this._tableStyle.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyle(__tableStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyle", this._tableStyle);
        }
      }
                        
            if (this._tableStyleClass != null) {
        if (this._tableStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __tableStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tableStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTableStyleClass(__tableStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tableStyleClass", this._tableStyleClass);
        }
      }
                        
            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._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
View Full Code Here

TOP

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

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.