Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlListShuttle


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlListShuttle comp = (HtmlListShuttle) component;
            
            if (this._activeItem != null) {
        if (this._activeItem.isLiteralText()) {
          try {
                       
            java.lang.Object __activeItem = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._activeItem.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setActiveItem(__activeItem);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("activeItem", this._activeItem);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._bottomControlClass != null) {
        if (this._bottomControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlClass(__bottomControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlClass", this._bottomControlClass);
        }
      }
                        
            if (this._bottomControlLabel != null) {
        if (this._bottomControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlLabel(__bottomControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlLabel", this._bottomControlLabel);
        }
      }
                        
            if (this._bottomTitle != null) {
        if (this._bottomTitle.isLiteralText()) {
          try {
                       
            java.lang.String __bottomTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomTitle(__bottomTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomTitle", this._bottomTitle);
        }
      }
                        
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._controlsType != null) {
        if (this._controlsType.isLiteralText()) {
          try {
                       
            java.lang.String __controlsType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsType(__controlsType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsType", this._controlsType);
        }
      }
                        
            if (this._controlsVerticalAlign != null) {
        if (this._controlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalAlign(__controlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalAlign", this._controlsVerticalAlign);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlClass != null) {
        if (this._copyAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlClass(__copyAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlClass", this._copyAllControlClass);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyControlClass != null) {
        if (this._copyControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlClass(__copyControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlClass", this._copyControlClass);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                        
            if (this._disabledControlClass != null) {
        if (this._disabledControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledControlClass(__disabledControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledControlClass", this._disabledControlClass);
        }
      }
                        
            if (this._downControlClass != null) {
        if (this._downControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __downControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlClass(__downControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlClass", this._downControlClass);
        }
      }
                        
            if (this._downControlLabel != null) {
        if (this._downControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __downControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlLabel(__downControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlLabel", this._downControlLabel);
        }
      }
                        
            if (this._downTitle != null) {
        if (this._downTitle.isLiteralText()) {
          try {
                       
            java.lang.String __downTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownTitle(__downTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downTitle", this._downTitle);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                        
            if (this._fastOrderControlsVisible != null) {
        if (this._fastOrderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastOrderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastOrderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastOrderControlsVisible(__fastOrderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastOrderControlsVisible", this._fastOrderControlsVisible);
        }
      }
                            
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            if (this._onbottomclick != null) {
        if (this._onbottomclick.isLiteralText()) {
          try {
                       
            java.lang.String __onbottomclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbottomclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbottomclick(__onbottomclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbottomclick", this._onbottomclick);
        }
      }
                          
            if (this._oncopyallclick != null) {
        if (this._oncopyallclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyallclick(__oncopyallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyallclick", this._oncopyallclick);
        }
      }
                        
            if (this._oncopyclick != null) {
        if (this._oncopyclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyclick(__oncopyclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyclick", this._oncopyclick);
        }
      }
                         
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                           
            if (this._onorderchange != null) {
        if (this._onorderchange.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchange(__onorderchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchange", this._onorderchange);
        }
      }
                        
            if (this._onorderchanged != null) {
        if (this._onorderchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchanged(__onorderchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchanged", this._onorderchanged);
        }
      }
                        
            if (this._onremoveallclick != null) {
        if (this._onremoveallclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveallclick(__onremoveallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveallclick", this._onremoveallclick);
        }
      }
                        
            if (this._onremoveclick != null) {
        if (this._onremoveclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveclick(__onremoveclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveclick", this._onremoveclick);
        }
      }
                        
            if (this._ontopclick != null) {
        if (this._ontopclick.isLiteralText()) {
          try {
                       
            java.lang.String __ontopclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontopclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntopclick(__ontopclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontopclick", this._ontopclick);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                        
            if (this._orderControlsVisible != null) {
        if (this._orderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __orderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setOrderControlsVisible(__orderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orderControlsVisible", this._orderControlsVisible);
        }
      }
                        
            if (this._removeAllControlClass != null) {
        if (this._removeAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlClass(__removeAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlClass", this._removeAllControlClass);
        }
      }
                        
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeControlClass != null) {
        if (this._removeControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlClass(__removeControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlClass", this._removeControlClass);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                          
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                            setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                 
            if (this._showButtonLabels != null) {
        if (this._showButtonLabels.isLiteralText()) {
          try {
                       
            Boolean __showButtonLabels = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonLabels.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonLabels(__showButtonLabels.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonLabels", this._showButtonLabels);
        }
      }
                        
            if (this._sourceCaptionLabel != null) {
        if (this._sourceCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __sourceCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceCaptionLabel(__sourceCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceCaptionLabel", this._sourceCaptionLabel);
        }
      }
                        
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                        
            if (this._sourceRequired != null) {
        if (this._sourceRequired.isLiteralText()) {
          try {
                       
            Boolean __sourceRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setSourceRequired(__sourceRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceRequired", this._sourceRequired);
        }
      }
                                 if(null != this._sourceSelection && this._sourceSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property sourceSelection");
        }
      
            if (this._sourceSelection != null) {
        if (this._sourceSelection.isLiteralText()) {
          try {
                       
            java.util.Set __sourceSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setSourceSelection(__sourceSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceSelection", this._sourceSelection);
        }
      }
                        
            if (this._sourceValue != null) {
        if (this._sourceValue.isLiteralText()) {
          try {
                       
            java.lang.Object __sourceValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setSourceValue(__sourceValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceValue", this._sourceValue);
        }
      }
                            
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._switchByDblClick != null) {
        if (this._switchByDblClick.isLiteralText()) {
          try {
                       
            Boolean __switchByDblClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByDblClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByDblClick(__switchByDblClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByDblClick", this._switchByDblClick);
        }
      }
                        
            if (this._targetCaptionLabel != null) {
        if (this._targetCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __targetCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetCaptionLabel(__targetCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetCaptionLabel", this._targetCaptionLabel);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                        
            if (this._targetRequired != null) {
        if (this._targetRequired.isLiteralText()) {
          try {
                       
            Boolean __targetRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setTargetRequired(__targetRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetRequired", this._targetRequired);
        }
      }
                                 if(null != this._targetSelection && this._targetSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property targetSelection");
        }
      
            if (this._targetSelection != null) {
        if (this._targetSelection.isLiteralText()) {
          try {
                       
            java.util.Set __targetSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setTargetSelection(__targetSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetSelection", this._targetSelection);
        }
      }
                        
            if (this._targetValue != null) {
        if (this._targetValue.isLiteralText()) {
          try {
                       
            java.lang.Object __targetValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTargetValue(__targetValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetValue", this._targetValue);
        }
      }
                        
            if (this._topControlClass != null) {
        if (this._topControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __topControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlClass(__topControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlClass", this._topControlClass);
        }
      }
                        
            if (this._topControlLabel != null) {
        if (this._topControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __topControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlLabel(__topControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlLabel", this._topControlLabel);
        }
      }
                        
            if (this._topTitle != null) {
        if (this._topTitle.isLiteralText()) {
          try {
                       
            java.lang.String __topTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopTitle(__topTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topTitle", this._topTitle);
        }
      }
                        
            if (this._upControlClass != null) {
        if (this._upControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __upControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlClass(__upControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlClass", this._upControlClass);
        }
      }
                        
            if (this._upControlLabel != null) {
        if (this._upControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __upControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlLabel(__upControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlLabel", this._upControlLabel);
        }
      }
                        
            if (this._upTitle != null) {
        if (this._upTitle.isLiteralText()) {
          try {
                       
            java.lang.String __upTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpTitle(__upTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upTitle", this._upTitle);
        }
      }
                         setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                          setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlListShuttle comp = (HtmlListShuttle) component;
            
            if (this._activeItem != null) {
        if (this._activeItem.isLiteralText()) {
          try {
                       
            java.lang.Object __activeItem = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._activeItem.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setActiveItem(__activeItem);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("activeItem", this._activeItem);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._bottomControlClass != null) {
        if (this._bottomControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlClass(__bottomControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlClass", this._bottomControlClass);
        }
      }
                        
            if (this._bottomControlLabel != null) {
        if (this._bottomControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlLabel(__bottomControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlLabel", this._bottomControlLabel);
        }
      }
                        
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._controlsType != null) {
        if (this._controlsType.isLiteralText()) {
          try {
                       
            java.lang.String __controlsType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsType(__controlsType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsType", this._controlsType);
        }
      }
                        
            if (this._controlsVerticalAlign != null) {
        if (this._controlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalAlign(__controlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalAlign", this._controlsVerticalAlign);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._copyAllControlClass != null) {
        if (this._copyAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlClass(__copyAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlClass", this._copyAllControlClass);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyControlClass != null) {
        if (this._copyControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlClass(__copyControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlClass", this._copyControlClass);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._disabledControlClass != null) {
        if (this._disabledControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledControlClass(__disabledControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledControlClass", this._disabledControlClass);
        }
      }
                        
            if (this._downControlClass != null) {
        if (this._downControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __downControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlClass(__downControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlClass", this._downControlClass);
        }
      }
                        
            if (this._downControlLabel != null) {
        if (this._downControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __downControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlLabel(__downControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlLabel", this._downControlLabel);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                        
            if (this._fastOrderControlsVisible != null) {
        if (this._fastOrderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastOrderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastOrderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastOrderControlsVisible(__fastOrderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastOrderControlsVisible", this._fastOrderControlsVisible);
        }
      }
                        
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                           
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            if (this._onbottomclick != null) {
        if (this._onbottomclick.isLiteralText()) {
          try {
                       
            java.lang.String __onbottomclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbottomclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbottomclick(__onbottomclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbottomclick", this._onbottomclick);
        }
      }
                          
            if (this._oncopyallclick != null) {
        if (this._oncopyallclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyallclick(__oncopyallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyallclick", this._oncopyallclick);
        }
      }
                        
            if (this._oncopyclick != null) {
        if (this._oncopyclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyclick(__oncopyclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyclick", this._oncopyclick);
        }
      }
                         
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                           
            if (this._onorderchanged != null) {
        if (this._onorderchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchanged(__onorderchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchanged", this._onorderchanged);
        }
      }
                        
            if (this._onremoveallclick != null) {
        if (this._onremoveallclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveallclick(__onremoveallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveallclick", this._onremoveallclick);
        }
      }
                        
            if (this._onremoveclick != null) {
        if (this._onremoveclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveclick(__onremoveclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveclick", this._onremoveclick);
        }
      }
                        
            if (this._ontopclick != null) {
        if (this._ontopclick.isLiteralText()) {
          try {
                       
            java.lang.String __ontopclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontopclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntopclick(__ontopclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontopclick", this._ontopclick);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                        
            if (this._orderControlsVisible != null) {
        if (this._orderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __orderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setOrderControlsVisible(__orderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orderControlsVisible", this._orderControlsVisible);
        }
      }
                        
            if (this._removeAllControlClass != null) {
        if (this._removeAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlClass(__removeAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlClass", this._removeAllControlClass);
        }
      }
                        
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeControlClass != null) {
        if (this._removeControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlClass(__removeControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlClass", this._removeControlClass);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                         
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                         
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                            setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                        
            if (this._showButtonLabels != null) {
        if (this._showButtonLabels.isLiteralText()) {
          try {
                       
            Boolean __showButtonLabels = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonLabels.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonLabels(__showButtonLabels.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonLabels", this._showButtonLabels);
        }
      }
                        
            if (this._sourceCaptionLabel != null) {
        if (this._sourceCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __sourceCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceCaptionLabel(__sourceCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceCaptionLabel", this._sourceCaptionLabel);
        }
      }
                        
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                        
            if (this._sourceRequired != null) {
        if (this._sourceRequired.isLiteralText()) {
          try {
                       
            Boolean __sourceRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setSourceRequired(__sourceRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceRequired", this._sourceRequired);
        }
      }
                                 if(null != this._sourceSelection && this._sourceSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property sourceSelection");
        }
      
            if (this._sourceSelection != null) {
        if (this._sourceSelection.isLiteralText()) {
          try {
                       
            java.util.Set __sourceSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setSourceSelection(__sourceSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceSelection", this._sourceSelection);
        }
      }
                        
            if (this._sourceValue != null) {
        if (this._sourceValue.isLiteralText()) {
          try {
                       
            java.lang.Object __sourceValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setSourceValue(__sourceValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceValue", this._sourceValue);
        }
      }
                            
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetCaptionLabel != null) {
        if (this._targetCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __targetCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetCaptionLabel(__targetCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetCaptionLabel", this._targetCaptionLabel);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                        
            if (this._targetRequired != null) {
        if (this._targetRequired.isLiteralText()) {
          try {
                       
            Boolean __targetRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setTargetRequired(__targetRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetRequired", this._targetRequired);
        }
      }
                                 if(null != this._targetSelection && this._targetSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property targetSelection");
        }
      
            if (this._targetSelection != null) {
        if (this._targetSelection.isLiteralText()) {
          try {
                       
            java.util.Set __targetSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setTargetSelection(__targetSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetSelection", this._targetSelection);
        }
      }
                        
            if (this._targetValue != null) {
        if (this._targetValue.isLiteralText()) {
          try {
                       
            java.lang.Object __targetValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTargetValue(__targetValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetValue", this._targetValue);
        }
      }
                        
            if (this._topControlClass != null) {
        if (this._topControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __topControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlClass(__topControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlClass", this._topControlClass);
        }
      }
                        
            if (this._topControlLabel != null) {
        if (this._topControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __topControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlLabel(__topControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlLabel", this._topControlLabel);
        }
      }
                        
            if (this._upControlClass != null) {
        if (this._upControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __upControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlClass(__upControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlClass", this._upControlClass);
        }
      }
                        
            if (this._upControlLabel != null) {
        if (this._upControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __upControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlLabel(__upControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlLabel", this._upControlLabel);
        }
      }
                         setValidatorProperty(comp, this._validator);
                    setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlListShuttle comp = (HtmlListShuttle) component;
            
            if (this._activeItem != null) {
        if (this._activeItem.isLiteralText()) {
          try {
                       
            java.lang.Object __activeItem = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._activeItem.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setActiveItem(__activeItem);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("activeItem", this._activeItem);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._bottomControlClass != null) {
        if (this._bottomControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlClass(__bottomControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlClass", this._bottomControlClass);
        }
      }
                        
            if (this._bottomControlLabel != null) {
        if (this._bottomControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlLabel(__bottomControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlLabel", this._bottomControlLabel);
        }
      }
                        
            if (this._bottomTitle != null) {
        if (this._bottomTitle.isLiteralText()) {
          try {
                       
            java.lang.String __bottomTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomTitle(__bottomTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomTitle", this._bottomTitle);
        }
      }
                        
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._controlsType != null) {
        if (this._controlsType.isLiteralText()) {
          try {
                       
            java.lang.String __controlsType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsType(__controlsType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsType", this._controlsType);
        }
      }
                        
            if (this._controlsVerticalAlign != null) {
        if (this._controlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalAlign(__controlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalAlign", this._controlsVerticalAlign);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlClass != null) {
        if (this._copyAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlClass(__copyAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlClass", this._copyAllControlClass);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyControlClass != null) {
        if (this._copyControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlClass(__copyControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlClass", this._copyControlClass);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                        
            if (this._disabledControlClass != null) {
        if (this._disabledControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledControlClass(__disabledControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledControlClass", this._disabledControlClass);
        }
      }
                        
            if (this._downControlClass != null) {
        if (this._downControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __downControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlClass(__downControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlClass", this._downControlClass);
        }
      }
                        
            if (this._downControlLabel != null) {
        if (this._downControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __downControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlLabel(__downControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlLabel", this._downControlLabel);
        }
      }
                        
            if (this._downTitle != null) {
        if (this._downTitle.isLiteralText()) {
          try {
                       
            java.lang.String __downTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownTitle(__downTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downTitle", this._downTitle);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                        
            if (this._fastOrderControlsVisible != null) {
        if (this._fastOrderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastOrderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastOrderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastOrderControlsVisible(__fastOrderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastOrderControlsVisible", this._fastOrderControlsVisible);
        }
      }
                        
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                           
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            if (this._onbottomclick != null) {
        if (this._onbottomclick.isLiteralText()) {
          try {
                       
            java.lang.String __onbottomclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbottomclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbottomclick(__onbottomclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbottomclick", this._onbottomclick);
        }
      }
                          
            if (this._oncopyallclick != null) {
        if (this._oncopyallclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyallclick(__oncopyallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyallclick", this._oncopyallclick);
        }
      }
                        
            if (this._oncopyclick != null) {
        if (this._oncopyclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyclick(__oncopyclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyclick", this._oncopyclick);
        }
      }
                         
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                           
            if (this._onorderchange != null) {
        if (this._onorderchange.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchange(__onorderchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchange", this._onorderchange);
        }
      }
                        
            if (this._onorderchanged != null) {
        if (this._onorderchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchanged(__onorderchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchanged", this._onorderchanged);
        }
      }
                        
            if (this._onremoveallclick != null) {
        if (this._onremoveallclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveallclick(__onremoveallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveallclick", this._onremoveallclick);
        }
      }
                        
            if (this._onremoveclick != null) {
        if (this._onremoveclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveclick(__onremoveclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveclick", this._onremoveclick);
        }
      }
                        
            if (this._ontopclick != null) {
        if (this._ontopclick.isLiteralText()) {
          try {
                       
            java.lang.String __ontopclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontopclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntopclick(__ontopclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontopclick", this._ontopclick);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                        
            if (this._orderControlsVisible != null) {
        if (this._orderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __orderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setOrderControlsVisible(__orderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orderControlsVisible", this._orderControlsVisible);
        }
      }
                        
            if (this._removeAllControlClass != null) {
        if (this._removeAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlClass(__removeAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlClass", this._removeAllControlClass);
        }
      }
                        
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeControlClass != null) {
        if (this._removeControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlClass(__removeControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlClass", this._removeControlClass);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                            
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                            setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                        
            if (this._showButtonLabels != null) {
        if (this._showButtonLabels.isLiteralText()) {
          try {
                       
            Boolean __showButtonLabels = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonLabels.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonLabels(__showButtonLabels.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonLabels", this._showButtonLabels);
        }
      }
                        
            if (this._sourceCaptionLabel != null) {
        if (this._sourceCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __sourceCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceCaptionLabel(__sourceCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceCaptionLabel", this._sourceCaptionLabel);
        }
      }
                        
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                        
            if (this._sourceRequired != null) {
        if (this._sourceRequired.isLiteralText()) {
          try {
                       
            Boolean __sourceRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setSourceRequired(__sourceRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceRequired", this._sourceRequired);
        }
      }
                                 if(null != this._sourceSelection && this._sourceSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property sourceSelection");
        }
      
            if (this._sourceSelection != null) {
        if (this._sourceSelection.isLiteralText()) {
          try {
                       
            java.util.Set __sourceSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setSourceSelection(__sourceSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceSelection", this._sourceSelection);
        }
      }
                        
            if (this._sourceValue != null) {
        if (this._sourceValue.isLiteralText()) {
          try {
                       
            java.lang.Object __sourceValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setSourceValue(__sourceValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceValue", this._sourceValue);
        }
      }
                            
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetCaptionLabel != null) {
        if (this._targetCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __targetCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetCaptionLabel(__targetCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetCaptionLabel", this._targetCaptionLabel);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                        
            if (this._targetRequired != null) {
        if (this._targetRequired.isLiteralText()) {
          try {
                       
            Boolean __targetRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setTargetRequired(__targetRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetRequired", this._targetRequired);
        }
      }
                                 if(null != this._targetSelection && this._targetSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property targetSelection");
        }
      
            if (this._targetSelection != null) {
        if (this._targetSelection.isLiteralText()) {
          try {
                       
            java.util.Set __targetSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setTargetSelection(__targetSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetSelection", this._targetSelection);
        }
      }
                        
            if (this._targetValue != null) {
        if (this._targetValue.isLiteralText()) {
          try {
                       
            java.lang.Object __targetValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTargetValue(__targetValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetValue", this._targetValue);
        }
      }
                        
            if (this._topControlClass != null) {
        if (this._topControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __topControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlClass(__topControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlClass", this._topControlClass);
        }
      }
                        
            if (this._topControlLabel != null) {
        if (this._topControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __topControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlLabel(__topControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlLabel", this._topControlLabel);
        }
      }
                        
            if (this._topTitle != null) {
        if (this._topTitle.isLiteralText()) {
          try {
                       
            java.lang.String __topTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopTitle(__topTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topTitle", this._topTitle);
        }
      }
                        
            if (this._upControlClass != null) {
        if (this._upControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __upControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlClass(__upControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlClass", this._upControlClass);
        }
      }
                        
            if (this._upControlLabel != null) {
        if (this._upControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __upControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlLabel(__upControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlLabel", this._upControlLabel);
        }
      }
                        
            if (this._upTitle != null) {
        if (this._upTitle.isLiteralText()) {
          try {
                       
            java.lang.String __upTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpTitle(__upTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upTitle", this._upTitle);
        }
      }
                         setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                          setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlListShuttle comp = (HtmlListShuttle) component;
            
            if (this._activeItem != null) {
        if (this._activeItem.isLiteralText()) {
          try {
                       
            java.lang.Object __activeItem = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._activeItem.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setActiveItem(__activeItem);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("activeItem", this._activeItem);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._bottomControlClass != null) {
        if (this._bottomControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlClass(__bottomControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlClass", this._bottomControlClass);
        }
      }
                        
            if (this._bottomControlLabel != null) {
        if (this._bottomControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlLabel(__bottomControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlLabel", this._bottomControlLabel);
        }
      }
                        
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._controlsType != null) {
        if (this._controlsType.isLiteralText()) {
          try {
                       
            java.lang.String __controlsType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsType(__controlsType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsType", this._controlsType);
        }
      }
                        
            if (this._controlsVerticalAlign != null) {
        if (this._controlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalAlign(__controlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalAlign", this._controlsVerticalAlign);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._copyAllControlClass != null) {
        if (this._copyAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlClass(__copyAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlClass", this._copyAllControlClass);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyControlClass != null) {
        if (this._copyControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlClass(__copyControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlClass", this._copyControlClass);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._disabledControlClass != null) {
        if (this._disabledControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledControlClass(__disabledControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledControlClass", this._disabledControlClass);
        }
      }
                        
            if (this._downControlClass != null) {
        if (this._downControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __downControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlClass(__downControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlClass", this._downControlClass);
        }
      }
                        
            if (this._downControlLabel != null) {
        if (this._downControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __downControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlLabel(__downControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlLabel", this._downControlLabel);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                        
            if (this._fastOrderControlsVisible != null) {
        if (this._fastOrderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastOrderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastOrderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastOrderControlsVisible(__fastOrderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastOrderControlsVisible", this._fastOrderControlsVisible);
        }
      }
                        
            if (this._first != null) {
        if (this._first.isLiteralText()) {
          try {
                       
            Integer __first = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._first.getExpressionString(),
                      Integer.class);
         
                        comp.setFirst(__first.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("first", this._first);
        }
      }
                           
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            if (this._onbottomclick != null) {
        if (this._onbottomclick.isLiteralText()) {
          try {
                       
            java.lang.String __onbottomclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbottomclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbottomclick(__onbottomclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbottomclick", this._onbottomclick);
        }
      }
                          
            if (this._oncopyallclick != null) {
        if (this._oncopyallclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyallclick(__oncopyallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyallclick", this._oncopyallclick);
        }
      }
                        
            if (this._oncopyclick != null) {
        if (this._oncopyclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyclick(__oncopyclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyclick", this._oncopyclick);
        }
      }
                         
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                           
            if (this._onorderchange != null) {
        if (this._onorderchange.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchange(__onorderchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchange", this._onorderchange);
        }
      }
                        
            if (this._onorderchanged != null) {
        if (this._onorderchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchanged(__onorderchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchanged", this._onorderchanged);
        }
      }
                        
            if (this._onremoveallclick != null) {
        if (this._onremoveallclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveallclick(__onremoveallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveallclick", this._onremoveallclick);
        }
      }
                        
            if (this._onremoveclick != null) {
        if (this._onremoveclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveclick(__onremoveclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveclick", this._onremoveclick);
        }
      }
                        
            if (this._ontopclick != null) {
        if (this._ontopclick.isLiteralText()) {
          try {
                       
            java.lang.String __ontopclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontopclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntopclick(__ontopclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontopclick", this._ontopclick);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                        
            if (this._orderControlsVisible != null) {
        if (this._orderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __orderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setOrderControlsVisible(__orderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orderControlsVisible", this._orderControlsVisible);
        }
      }
                        
            if (this._removeAllControlClass != null) {
        if (this._removeAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlClass(__removeAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlClass", this._removeAllControlClass);
        }
      }
                        
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeControlClass != null) {
        if (this._removeControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlClass(__removeControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlClass", this._removeControlClass);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                           
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                            setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                
            if (this._rows != null) {
        if (this._rows.isLiteralText()) {
          try {
                       
            Integer __rows = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rows.getExpressionString(),
                      Integer.class);
         
                        comp.setRows(__rows.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rows", this._rows);
        }
      }
                        
            if (this._showButtonLabels != null) {
        if (this._showButtonLabels.isLiteralText()) {
          try {
                       
            Boolean __showButtonLabels = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonLabels.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonLabels(__showButtonLabels.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonLabels", this._showButtonLabels);
        }
      }
                        
            if (this._sourceCaptionLabel != null) {
        if (this._sourceCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __sourceCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceCaptionLabel(__sourceCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceCaptionLabel", this._sourceCaptionLabel);
        }
      }
                        
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                        
            if (this._sourceRequired != null) {
        if (this._sourceRequired.isLiteralText()) {
          try {
                       
            Boolean __sourceRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setSourceRequired(__sourceRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceRequired", this._sourceRequired);
        }
      }
                                 if(null != this._sourceSelection && this._sourceSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property sourceSelection");
        }
      
            if (this._sourceSelection != null) {
        if (this._sourceSelection.isLiteralText()) {
          try {
                       
            java.util.Set __sourceSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setSourceSelection(__sourceSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceSelection", this._sourceSelection);
        }
      }
                        
            if (this._sourceValue != null) {
        if (this._sourceValue.isLiteralText()) {
          try {
                       
            java.lang.Object __sourceValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setSourceValue(__sourceValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceValue", this._sourceValue);
        }
      }
                            
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._targetCaptionLabel != null) {
        if (this._targetCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __targetCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetCaptionLabel(__targetCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetCaptionLabel", this._targetCaptionLabel);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                        
            if (this._targetRequired != null) {
        if (this._targetRequired.isLiteralText()) {
          try {
                       
            Boolean __targetRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setTargetRequired(__targetRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetRequired", this._targetRequired);
        }
      }
                                 if(null != this._targetSelection && this._targetSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property targetSelection");
        }
      
            if (this._targetSelection != null) {
        if (this._targetSelection.isLiteralText()) {
          try {
                       
            java.util.Set __targetSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setTargetSelection(__targetSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetSelection", this._targetSelection);
        }
      }
                        
            if (this._targetValue != null) {
        if (this._targetValue.isLiteralText()) {
          try {
                       
            java.lang.Object __targetValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTargetValue(__targetValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetValue", this._targetValue);
        }
      }
                        
            if (this._topControlClass != null) {
        if (this._topControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __topControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlClass(__topControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlClass", this._topControlClass);
        }
      }
                        
            if (this._topControlLabel != null) {
        if (this._topControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __topControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlLabel(__topControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlLabel", this._topControlLabel);
        }
      }
                        
            if (this._upControlClass != null) {
        if (this._upControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __upControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlClass(__upControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlClass", this._upControlClass);
        }
      }
                        
            if (this._upControlLabel != null) {
        if (this._upControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __upControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlLabel(__upControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlLabel", this._upControlLabel);
        }
      }
                         setValidatorProperty(comp, this._validator);
                    setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlListShuttle comp = (HtmlListShuttle) component;
            
            if (this._activeItem != null) {
        if (this._activeItem.isLiteralText()) {
          try {
                       
            java.lang.Object __activeItem = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._activeItem.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setActiveItem(__activeItem);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("activeItem", this._activeItem);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                          
            if (this._bottomControlClass != null) {
        if (this._bottomControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlClass(__bottomControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlClass", this._bottomControlClass);
        }
      }
                        
            if (this._bottomControlLabel != null) {
        if (this._bottomControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __bottomControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomControlLabel(__bottomControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomControlLabel", this._bottomControlLabel);
        }
      }
                        
            if (this._bottomTitle != null) {
        if (this._bottomTitle.isLiteralText()) {
          try {
                       
            java.lang.String __bottomTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bottomTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBottomTitle(__bottomTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bottomTitle", this._bottomTitle);
        }
      }
                        
            if (this._columnClasses != null) {
        if (this._columnClasses.isLiteralText()) {
          try {
                       
            java.lang.String __columnClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._columnClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setColumnClasses(__columnClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("columnClasses", this._columnClasses);
        }
      }
                        
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._controlsType != null) {
        if (this._controlsType.isLiteralText()) {
          try {
                       
            java.lang.String __controlsType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsType(__controlsType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsType", this._controlsType);
        }
      }
                        
            if (this._controlsVerticalAlign != null) {
        if (this._controlsVerticalAlign.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalAlign = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalAlign.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalAlign(__controlsVerticalAlign);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalAlign", this._controlsVerticalAlign);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._copyAllControlClass != null) {
        if (this._copyAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlClass(__copyAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlClass", this._copyAllControlClass);
        }
      }
                        
            if (this._copyAllControlLabel != null) {
        if (this._copyAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllControlLabel(__copyAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllControlLabel", this._copyAllControlLabel);
        }
      }
                        
            if (this._copyAllTitle != null) {
        if (this._copyAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyAllTitle(__copyAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyAllTitle", this._copyAllTitle);
        }
      }
                        
            if (this._copyControlClass != null) {
        if (this._copyControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlClass(__copyControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlClass", this._copyControlClass);
        }
      }
                        
            if (this._copyControlLabel != null) {
        if (this._copyControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __copyControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyControlLabel(__copyControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyControlLabel", this._copyControlLabel);
        }
      }
                        
            if (this._copyTitle != null) {
        if (this._copyTitle.isLiteralText()) {
          try {
                       
            java.lang.String __copyTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._copyTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCopyTitle(__copyTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("copyTitle", this._copyTitle);
        }
      }
                        
            if (this._disabledControlClass != null) {
        if (this._disabledControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledControlClass(__disabledControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledControlClass", this._disabledControlClass);
        }
      }
                        
            if (this._downControlClass != null) {
        if (this._downControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __downControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlClass(__downControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlClass", this._downControlClass);
        }
      }
                        
            if (this._downControlLabel != null) {
        if (this._downControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __downControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownControlLabel(__downControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downControlLabel", this._downControlLabel);
        }
      }
                        
            if (this._downTitle != null) {
        if (this._downTitle.isLiteralText()) {
          try {
                       
            java.lang.String __downTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._downTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDownTitle(__downTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("downTitle", this._downTitle);
        }
      }
                         
            if (this._fastMoveControlsVisible != null) {
        if (this._fastMoveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastMoveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastMoveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastMoveControlsVisible(__fastMoveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastMoveControlsVisible", this._fastMoveControlsVisible);
        }
      }
                        
            if (this._fastOrderControlsVisible != null) {
        if (this._fastOrderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __fastOrderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._fastOrderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setFastOrderControlsVisible(__fastOrderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("fastOrderControlsVisible", this._fastOrderControlsVisible);
        }
      }
                            
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._listClass != null) {
        if (this._listClass.isLiteralText()) {
          try {
                       
            java.lang.String __listClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListClass(__listClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listClass", this._listClass);
        }
      }
                        
            if (this._listsHeight != null) {
        if (this._listsHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listsHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listsHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListsHeight(__listsHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listsHeight", this._listsHeight);
        }
      }
                          
            if (this._moveControlsVisible != null) {
        if (this._moveControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __moveControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._moveControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setMoveControlsVisible(__moveControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("moveControlsVisible", this._moveControlsVisible);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            if (this._onbottomclick != null) {
        if (this._onbottomclick.isLiteralText()) {
          try {
                       
            java.lang.String __onbottomclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbottomclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbottomclick(__onbottomclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbottomclick", this._onbottomclick);
        }
      }
                          
            if (this._oncopyallclick != null) {
        if (this._oncopyallclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyallclick(__oncopyallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyallclick", this._oncopyallclick);
        }
      }
                        
            if (this._oncopyclick != null) {
        if (this._oncopyclick.isLiteralText()) {
          try {
                       
            java.lang.String __oncopyclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncopyclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncopyclick(__oncopyclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncopyclick", this._oncopyclick);
        }
      }
                         
            if (this._ondownclick != null) {
        if (this._ondownclick.isLiteralText()) {
          try {
                       
            java.lang.String __ondownclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondownclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndownclick(__ondownclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondownclick", this._ondownclick);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            if (this._onlistchange != null) {
        if (this._onlistchange.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchange(__onlistchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchange", this._onlistchange);
        }
      }
                        
            if (this._onlistchanged != null) {
        if (this._onlistchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onlistchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onlistchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnlistchanged(__onlistchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onlistchanged", this._onlistchanged);
        }
      }
                           
            if (this._onorderchange != null) {
        if (this._onorderchange.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchange(__onorderchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchange", this._onorderchange);
        }
      }
                        
            if (this._onorderchanged != null) {
        if (this._onorderchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onorderchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onorderchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnorderchanged(__onorderchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onorderchanged", this._onorderchanged);
        }
      }
                        
            if (this._onremoveallclick != null) {
        if (this._onremoveallclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveallclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveallclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveallclick(__onremoveallclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveallclick", this._onremoveallclick);
        }
      }
                        
            if (this._onremoveclick != null) {
        if (this._onremoveclick.isLiteralText()) {
          try {
                       
            java.lang.String __onremoveclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onremoveclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnremoveclick(__onremoveclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onremoveclick", this._onremoveclick);
        }
      }
                        
            if (this._ontopclick != null) {
        if (this._ontopclick.isLiteralText()) {
          try {
                       
            java.lang.String __ontopclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontopclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntopclick(__ontopclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontopclick", this._ontopclick);
        }
      }
                        
            if (this._onupclick != null) {
        if (this._onupclick.isLiteralText()) {
          try {
                       
            java.lang.String __onupclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onupclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnupclick(__onupclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onupclick", this._onupclick);
        }
      }
                        
            if (this._orderControlsVisible != null) {
        if (this._orderControlsVisible.isLiteralText()) {
          try {
                       
            Boolean __orderControlsVisible = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._orderControlsVisible.getExpressionString(),
                      Boolean.class);
         
                        comp.setOrderControlsVisible(__orderControlsVisible.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("orderControlsVisible", this._orderControlsVisible);
        }
      }
                        
            if (this._removeAllControlClass != null) {
        if (this._removeAllControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlClass(__removeAllControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlClass", this._removeAllControlClass);
        }
      }
                        
            if (this._removeAllControlLabel != null) {
        if (this._removeAllControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllControlLabel(__removeAllControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllControlLabel", this._removeAllControlLabel);
        }
      }
                        
            if (this._removeAllTitle != null) {
        if (this._removeAllTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeAllTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeAllTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveAllTitle(__removeAllTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeAllTitle", this._removeAllTitle);
        }
      }
                        
            if (this._removeControlClass != null) {
        if (this._removeControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlClass(__removeControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlClass", this._removeControlClass);
        }
      }
                        
            if (this._removeControlLabel != null) {
        if (this._removeControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __removeControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveControlLabel(__removeControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeControlLabel", this._removeControlLabel);
        }
      }
                        
            if (this._removeTitle != null) {
        if (this._removeTitle.isLiteralText()) {
          try {
                       
            java.lang.String __removeTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._removeTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRemoveTitle(__removeTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("removeTitle", this._removeTitle);
        }
      }
                          
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                         
            if (this._rowClasses != null) {
        if (this._rowClasses.isLiteralText()) {
          try {
                       
            java.lang.String __rowClasses = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rowClasses.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRowClasses(__rowClasses);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rowClasses", this._rowClasses);
        }
      }
                            setRowKeyConverterProperty(comp, this._rowKeyConverter);
                  
                      if (this._rowKeyVar != null) {
          comp.setRowKeyVar(this._rowKeyVar);
        }
                                 
            if (this._showButtonLabels != null) {
        if (this._showButtonLabels.isLiteralText()) {
          try {
                       
            Boolean __showButtonLabels = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showButtonLabels.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowButtonLabels(__showButtonLabels.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showButtonLabels", this._showButtonLabels);
        }
      }
                        
            if (this._sourceCaptionLabel != null) {
        if (this._sourceCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __sourceCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceCaptionLabel(__sourceCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceCaptionLabel", this._sourceCaptionLabel);
        }
      }
                        
            if (this._sourceListWidth != null) {
        if (this._sourceListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __sourceListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSourceListWidth(__sourceListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceListWidth", this._sourceListWidth);
        }
      }
                        
            if (this._sourceRequired != null) {
        if (this._sourceRequired.isLiteralText()) {
          try {
                       
            Boolean __sourceRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setSourceRequired(__sourceRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceRequired", this._sourceRequired);
        }
      }
                                 if(null != this._sourceSelection && this._sourceSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property sourceSelection");
        }
      
            if (this._sourceSelection != null) {
        if (this._sourceSelection.isLiteralText()) {
          try {
                       
            java.util.Set __sourceSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setSourceSelection(__sourceSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceSelection", this._sourceSelection);
        }
      }
                        
            if (this._sourceValue != null) {
        if (this._sourceValue.isLiteralText()) {
          try {
                       
            java.lang.Object __sourceValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._sourceValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setSourceValue(__sourceValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("sourceValue", this._sourceValue);
        }
      }
                            
            if (this._switchByClick != null) {
        if (this._switchByClick.isLiteralText()) {
          try {
                       
            Boolean __switchByClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByClick(__switchByClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByClick", this._switchByClick);
        }
      }
                        
            if (this._switchByDblClick != null) {
        if (this._switchByDblClick.isLiteralText()) {
          try {
                       
            Boolean __switchByDblClick = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._switchByDblClick.getExpressionString(),
                      Boolean.class);
         
                        comp.setSwitchByDblClick(__switchByDblClick.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("switchByDblClick", this._switchByDblClick);
        }
      }
                        
            if (this._targetCaptionLabel != null) {
        if (this._targetCaptionLabel.isLiteralText()) {
          try {
                       
            java.lang.String __targetCaptionLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetCaptionLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetCaptionLabel(__targetCaptionLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetCaptionLabel", this._targetCaptionLabel);
        }
      }
                        
            if (this._targetListWidth != null) {
        if (this._targetListWidth.isLiteralText()) {
          try {
                       
            java.lang.String __targetListWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetListWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTargetListWidth(__targetListWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetListWidth", this._targetListWidth);
        }
      }
                        
            if (this._targetRequired != null) {
        if (this._targetRequired.isLiteralText()) {
          try {
                       
            Boolean __targetRequired = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetRequired.getExpressionString(),
                      Boolean.class);
         
                        comp.setTargetRequired(__targetRequired.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetRequired", this._targetRequired);
        }
      }
                                 if(null != this._targetSelection && this._targetSelection.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.ListShuttle with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property targetSelection");
        }
      
            if (this._targetSelection != null) {
        if (this._targetSelection.isLiteralText()) {
          try {
                       
            java.util.Set __targetSelection = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetSelection.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setTargetSelection(__targetSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetSelection", this._targetSelection);
        }
      }
                        
            if (this._targetValue != null) {
        if (this._targetValue.isLiteralText()) {
          try {
                       
            java.lang.Object __targetValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._targetValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTargetValue(__targetValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("targetValue", this._targetValue);
        }
      }
                        
            if (this._topControlClass != null) {
        if (this._topControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __topControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlClass(__topControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlClass", this._topControlClass);
        }
      }
                        
            if (this._topControlLabel != null) {
        if (this._topControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __topControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopControlLabel(__topControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topControlLabel", this._topControlLabel);
        }
      }
                        
            if (this._topTitle != null) {
        if (this._topTitle.isLiteralText()) {
          try {
                       
            java.lang.String __topTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._topTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTopTitle(__topTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("topTitle", this._topTitle);
        }
      }
                        
            if (this._upControlClass != null) {
        if (this._upControlClass.isLiteralText()) {
          try {
                       
            java.lang.String __upControlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlClass(__upControlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlClass", this._upControlClass);
        }
      }
                        
            if (this._upControlLabel != null) {
        if (this._upControlLabel.isLiteralText()) {
          try {
                       
            java.lang.String __upControlLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upControlLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpControlLabel(__upControlLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upControlLabel", this._upControlLabel);
        }
      }
                        
            if (this._upTitle != null) {
        if (this._upTitle.isLiteralText()) {
          try {
                       
            java.lang.String __upTitle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._upTitle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setUpTitle(__upTitle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("upTitle", this._upTitle);
        }
      }
                         setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                          setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
                      if (this._var != null) {
          comp.setVar(this._var);
        }
                       }
View Full Code Here

TOP

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

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.