Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlTreeNode


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlTreeNode comp = (HtmlTreeNode) component;
             
            if (this._acceptCursors != null) {
        if (this._acceptCursors.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCursors(__acceptCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCursors", this._acceptCursors);
        }
      }
                        
            if (this._acceptedTypes != null) {
        if (this._acceptedTypes.isLiteralText()) {
          try {
                       
            java.lang.Object __acceptedTypes = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptedTypes.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setAcceptedTypes(__acceptedTypes);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptedTypes", this._acceptedTypes);
        }
      }
                        
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmitSelection != null) {
        if (this._ajaxSubmitSelection.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxSubmitSelection = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmitSelection", this._ajaxSubmitSelection);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        if(null != this._changeExpandListener){
             if (!this._changeExpandListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._changeExpandListener);
                ((HtmlTreeNode)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._cursorTypeMapping != null) {
        if (this._cursorTypeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __cursorTypeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cursorTypeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCursorTypeMapping(__cursorTypeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cursorTypeMapping", this._cursorTypeMapping);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._dragIndicator != null) {
        if (this._dragIndicator.isLiteralText()) {
          try {
                       
            java.lang.String __dragIndicator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragIndicator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragIndicator(__dragIndicator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragIndicator", this._dragIndicator);
        }
      }
                        if(null != this._dragListener){
             if (!this._dragListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dragListener);
                ((HtmlTreeNode)component).setDragListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dragListener value: " + this._dragListener);
             }
      }
                   
            if (this._dragType != null) {
        if (this._dragType.isLiteralText()) {
          try {
                       
            java.lang.String __dragType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragType(__dragType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragType", this._dragType);
        }
      }
                        
            if (this._dragValue != null) {
        if (this._dragValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dragValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDragValue(__dragValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragValue", this._dragValue);
        }
      }
                        if(null != this._dropListener){
             if (!this._dropListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dropListener);
                ((HtmlTreeNode)component).setDropListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dropListener value: " + this._dropListener);
             }
      }
                   
            if (this._dropValue != null) {
        if (this._dropValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dropValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dropValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDropValue(__dropValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dropValue", this._dropValue);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._grabCursors != null) {
        if (this._grabCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabCursors(__grabCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabCursors", this._grabCursors);
        }
      }
                        
            if (this._grabbingCursors != null) {
        if (this._grabbingCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabbingCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabbingCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabbingCursors(__grabbingCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabbingCursors", this._grabbingCursors);
        }
      }
                        
            if (this._highlightedClass != null) {
        if (this._highlightedClass.isLiteralText()) {
          try {
                       
            java.lang.String __highlightedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlightedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlightedClass(__highlightedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlightedClass", this._highlightedClass);
        }
      }
                        
            if (this._icon != null) {
        if (this._icon.isLiteralText()) {
          try {
                       
            java.lang.String __icon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._icon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIcon(__icon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("icon", this._icon);
        }
      }
                        
            if (this._iconCollapsed != null) {
        if (this._iconCollapsed.isLiteralText()) {
          try {
                       
            java.lang.String __iconCollapsed = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconCollapsed.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconCollapsed(__iconCollapsed);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconCollapsed", this._iconCollapsed);
        }
      }
                         
            if (this._iconExpanded != null) {
        if (this._iconExpanded.isLiteralText()) {
          try {
                       
            java.lang.String __iconExpanded = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconExpanded.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconExpanded(__iconExpanded);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconExpanded", this._iconExpanded);
        }
      }
                          
            if (this._iconLeaf != null) {
        if (this._iconLeaf.isLiteralText()) {
          try {
                       
            java.lang.String __iconLeaf = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconLeaf.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconLeaf(__iconLeaf);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconLeaf", this._iconLeaf);
        }
      }
                          
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._nodeClass != null) {
        if (this._nodeClass.isLiteralText()) {
          try {
                       
            java.lang.String __nodeClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeClass(__nodeClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeClass", this._nodeClass);
        }
      }
                        if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTreeNode)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
             }
      }
                   
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                         
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncontextmenu != null) {
        if (this._oncontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncontextmenu(__oncontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncontextmenu", this._oncontextmenu);
        }
      }
                         
            if (this._ondragend != null) {
        if (this._ondragend.isLiteralText()) {
          try {
                       
            java.lang.String __ondragend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragend(__ondragend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragend", this._ondragend);
        }
      }
                        
            if (this._ondragenter != null) {
        if (this._ondragenter.isLiteralText()) {
          try {
                       
            java.lang.String __ondragenter = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragenter.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragenter(__ondragenter);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragenter", this._ondragenter);
        }
      }
                        
            if (this._ondragexit != null) {
        if (this._ondragexit.isLiteralText()) {
          try {
                       
            java.lang.String __ondragexit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragexit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragexit(__ondragexit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragexit", this._ondragexit);
        }
      }
                        
            if (this._ondragstart != null) {
        if (this._ondragstart.isLiteralText()) {
          try {
                       
            java.lang.String __ondragstart = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragstart.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragstart(__ondragstart);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragstart", this._ondragstart);
        }
      }
                        
            if (this._ondrop != null) {
        if (this._ondrop.isLiteralText()) {
          try {
                       
            java.lang.String __ondrop = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondrop.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndrop(__ondrop);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondrop", this._ondrop);
        }
      }
                        
            if (this._ondropend != null) {
        if (this._ondropend.isLiteralText()) {
          try {
                       
            java.lang.String __ondropend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropend(__ondropend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropend", this._ondropend);
        }
      }
                        
            if (this._ondropout != null) {
        if (this._ondropout.isLiteralText()) {
          try {
                       
            java.lang.String __ondropout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropout(__ondropout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropout", this._ondropout);
        }
      }
                        
            if (this._ondropover != null) {
        if (this._ondropover.isLiteralText()) {
          try {
                       
            java.lang.String __ondropover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropover(__ondropover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropover", this._ondropover);
        }
      }
                        
            if (this._onexpand != null) {
        if (this._onexpand.isLiteralText()) {
          try {
                       
            java.lang.String __onexpand = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onexpand.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnexpand(__onexpand);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onexpand", this._onexpand);
        }
      }
                                
            if (this._onselected != null) {
        if (this._onselected.isLiteralText()) {
          try {
                       
            java.lang.String __onselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselected(__onselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselected", this._onselected);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._rejectCursors != null) {
        if (this._rejectCursors.isLiteralText()) {
          try {
                       
            java.lang.String __rejectCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rejectCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRejectCursors(__rejectCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rejectCursors", this._rejectCursors);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._selectedClass != null) {
        if (this._selectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedClass(__selectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedClass", this._selectedClass);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._typeMapping != null) {
        if (this._typeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __typeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._typeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTypeMapping(__typeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("typeMapping", this._typeMapping);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlTreeNode comp = (HtmlTreeNode) component;
             
            if (this._acceptCursors != null) {
        if (this._acceptCursors.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCursors(__acceptCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCursors", this._acceptCursors);
        }
      }
                        
            if (this._acceptedTypes != null) {
        if (this._acceptedTypes.isLiteralText()) {
          try {
                       
            java.lang.Object __acceptedTypes = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptedTypes.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setAcceptedTypes(__acceptedTypes);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptedTypes", this._acceptedTypes);
        }
      }
                        
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmitSelection != null) {
        if (this._ajaxSubmitSelection.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxSubmitSelection = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmitSelection", this._ajaxSubmitSelection);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        if(null != this._changeExpandListener){
             if (!this._changeExpandListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._changeExpandListener);
                ((HtmlTreeNode)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._cursorTypeMapping != null) {
        if (this._cursorTypeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __cursorTypeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cursorTypeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCursorTypeMapping(__cursorTypeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cursorTypeMapping", this._cursorTypeMapping);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._dragIndicator != null) {
        if (this._dragIndicator.isLiteralText()) {
          try {
                       
            java.lang.String __dragIndicator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragIndicator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragIndicator(__dragIndicator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragIndicator", this._dragIndicator);
        }
      }
                        if(null != this._dragListener){
             if (!this._dragListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dragListener);
                ((HtmlTreeNode)component).setDragListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dragListener value: " + this._dragListener);
             }
      }
                   
            if (this._dragType != null) {
        if (this._dragType.isLiteralText()) {
          try {
                       
            java.lang.String __dragType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragType(__dragType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragType", this._dragType);
        }
      }
                        
            if (this._dragValue != null) {
        if (this._dragValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dragValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDragValue(__dragValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragValue", this._dragValue);
        }
      }
                        if(null != this._dropListener){
             if (!this._dropListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dropListener);
                ((HtmlTreeNode)component).setDropListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dropListener value: " + this._dropListener);
             }
      }
                   
            if (this._dropValue != null) {
        if (this._dropValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dropValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dropValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDropValue(__dropValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dropValue", this._dropValue);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._grabCursors != null) {
        if (this._grabCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabCursors(__grabCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabCursors", this._grabCursors);
        }
      }
                        
            if (this._grabbingCursors != null) {
        if (this._grabbingCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabbingCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabbingCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabbingCursors(__grabbingCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabbingCursors", this._grabbingCursors);
        }
      }
                        
            if (this._highlightedClass != null) {
        if (this._highlightedClass.isLiteralText()) {
          try {
                       
            java.lang.String __highlightedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlightedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlightedClass(__highlightedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlightedClass", this._highlightedClass);
        }
      }
                        
            if (this._icon != null) {
        if (this._icon.isLiteralText()) {
          try {
                       
            java.lang.String __icon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._icon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIcon(__icon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("icon", this._icon);
        }
      }
                        
            if (this._iconCollapsed != null) {
        if (this._iconCollapsed.isLiteralText()) {
          try {
                       
            java.lang.String __iconCollapsed = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconCollapsed.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconCollapsed(__iconCollapsed);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconCollapsed", this._iconCollapsed);
        }
      }
                         
            if (this._iconExpanded != null) {
        if (this._iconExpanded.isLiteralText()) {
          try {
                       
            java.lang.String __iconExpanded = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconExpanded.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconExpanded(__iconExpanded);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconExpanded", this._iconExpanded);
        }
      }
                          
            if (this._iconLeaf != null) {
        if (this._iconLeaf.isLiteralText()) {
          try {
                       
            java.lang.String __iconLeaf = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconLeaf.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconLeaf(__iconLeaf);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconLeaf", this._iconLeaf);
        }
      }
                          
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._nodeClass != null) {
        if (this._nodeClass.isLiteralText()) {
          try {
                       
            java.lang.String __nodeClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeClass(__nodeClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeClass", this._nodeClass);
        }
      }
                        if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTreeNode)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
             }
      }
                   
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                         
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncontextmenu != null) {
        if (this._oncontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncontextmenu(__oncontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncontextmenu", this._oncontextmenu);
        }
      }
                         
            if (this._ondragend != null) {
        if (this._ondragend.isLiteralText()) {
          try {
                       
            java.lang.String __ondragend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragend(__ondragend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragend", this._ondragend);
        }
      }
                        
            if (this._ondragenter != null) {
        if (this._ondragenter.isLiteralText()) {
          try {
                       
            java.lang.String __ondragenter = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragenter.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragenter(__ondragenter);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragenter", this._ondragenter);
        }
      }
                        
            if (this._ondragexit != null) {
        if (this._ondragexit.isLiteralText()) {
          try {
                       
            java.lang.String __ondragexit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragexit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragexit(__ondragexit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragexit", this._ondragexit);
        }
      }
                        
            if (this._ondragstart != null) {
        if (this._ondragstart.isLiteralText()) {
          try {
                       
            java.lang.String __ondragstart = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragstart.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragstart(__ondragstart);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragstart", this._ondragstart);
        }
      }
                        
            if (this._ondrop != null) {
        if (this._ondrop.isLiteralText()) {
          try {
                       
            java.lang.String __ondrop = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondrop.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndrop(__ondrop);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondrop", this._ondrop);
        }
      }
                        
            if (this._ondropend != null) {
        if (this._ondropend.isLiteralText()) {
          try {
                       
            java.lang.String __ondropend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropend(__ondropend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropend", this._ondropend);
        }
      }
                        
            if (this._ondropout != null) {
        if (this._ondropout.isLiteralText()) {
          try {
                       
            java.lang.String __ondropout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropout(__ondropout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropout", this._ondropout);
        }
      }
                        
            if (this._ondropover != null) {
        if (this._ondropover.isLiteralText()) {
          try {
                       
            java.lang.String __ondropover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropover(__ondropover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropover", this._ondropover);
        }
      }
                        
            if (this._onexpand != null) {
        if (this._onexpand.isLiteralText()) {
          try {
                       
            java.lang.String __onexpand = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onexpand.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnexpand(__onexpand);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onexpand", this._onexpand);
        }
      }
                                
            if (this._onselected != null) {
        if (this._onselected.isLiteralText()) {
          try {
                       
            java.lang.String __onselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselected(__onselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselected", this._onselected);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._rejectCursors != null) {
        if (this._rejectCursors.isLiteralText()) {
          try {
                       
            java.lang.String __rejectCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rejectCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRejectCursors(__rejectCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rejectCursors", this._rejectCursors);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._selectedClass != null) {
        if (this._selectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedClass(__selectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedClass", this._selectedClass);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._typeMapping != null) {
        if (this._typeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __typeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._typeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTypeMapping(__typeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("typeMapping", this._typeMapping);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlTreeNode comp = (HtmlTreeNode) component;
             
            if (this._acceptCursors != null) {
        if (this._acceptCursors.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCursors(__acceptCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCursors", this._acceptCursors);
        }
      }
                        
            if (this._acceptedTypes != null) {
        if (this._acceptedTypes.isLiteralText()) {
          try {
                       
            java.lang.Object __acceptedTypes = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptedTypes.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setAcceptedTypes(__acceptedTypes);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptedTypes", this._acceptedTypes);
        }
      }
                        
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmitSelection != null) {
        if (this._ajaxSubmitSelection.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxSubmitSelection = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmitSelection", this._ajaxSubmitSelection);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        if(null != this._changeExpandListener){
             if (!this._changeExpandListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._changeExpandListener);
                ((HtmlTreeNode)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._cursorTypeMapping != null) {
        if (this._cursorTypeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __cursorTypeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cursorTypeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCursorTypeMapping(__cursorTypeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cursorTypeMapping", this._cursorTypeMapping);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._dragIndicator != null) {
        if (this._dragIndicator.isLiteralText()) {
          try {
                       
            java.lang.String __dragIndicator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragIndicator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragIndicator(__dragIndicator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragIndicator", this._dragIndicator);
        }
      }
                        if(null != this._dragListener){
             if (!this._dragListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dragListener);
                ((HtmlTreeNode)component).setDragListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dragListener value: " + this._dragListener);
             }
      }
                   
            if (this._dragType != null) {
        if (this._dragType.isLiteralText()) {
          try {
                       
            java.lang.String __dragType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragType(__dragType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragType", this._dragType);
        }
      }
                        
            if (this._dragValue != null) {
        if (this._dragValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dragValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDragValue(__dragValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragValue", this._dragValue);
        }
      }
                        if(null != this._dropListener){
             if (!this._dropListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dropListener);
                ((HtmlTreeNode)component).setDropListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dropListener value: " + this._dropListener);
             }
      }
                   
            if (this._dropValue != null) {
        if (this._dropValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dropValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dropValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDropValue(__dropValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dropValue", this._dropValue);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._grabCursors != null) {
        if (this._grabCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabCursors(__grabCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabCursors", this._grabCursors);
        }
      }
                        
            if (this._grabbingCursors != null) {
        if (this._grabbingCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabbingCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabbingCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabbingCursors(__grabbingCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabbingCursors", this._grabbingCursors);
        }
      }
                        
            if (this._highlightedClass != null) {
        if (this._highlightedClass.isLiteralText()) {
          try {
                       
            java.lang.String __highlightedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlightedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlightedClass(__highlightedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlightedClass", this._highlightedClass);
        }
      }
                        
            if (this._icon != null) {
        if (this._icon.isLiteralText()) {
          try {
                       
            java.lang.String __icon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._icon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIcon(__icon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("icon", this._icon);
        }
      }
                        
            if (this._iconCollapsed != null) {
        if (this._iconCollapsed.isLiteralText()) {
          try {
                       
            java.lang.String __iconCollapsed = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconCollapsed.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconCollapsed(__iconCollapsed);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconCollapsed", this._iconCollapsed);
        }
      }
                         
            if (this._iconExpanded != null) {
        if (this._iconExpanded.isLiteralText()) {
          try {
                       
            java.lang.String __iconExpanded = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconExpanded.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconExpanded(__iconExpanded);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconExpanded", this._iconExpanded);
        }
      }
                          
            if (this._iconLeaf != null) {
        if (this._iconLeaf.isLiteralText()) {
          try {
                       
            java.lang.String __iconLeaf = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconLeaf.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconLeaf(__iconLeaf);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconLeaf", this._iconLeaf);
        }
      }
                          
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._nodeClass != null) {
        if (this._nodeClass.isLiteralText()) {
          try {
                       
            java.lang.String __nodeClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeClass(__nodeClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeClass", this._nodeClass);
        }
      }
                        if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTreeNode)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
             }
      }
                   
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                         
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncontextmenu != null) {
        if (this._oncontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncontextmenu(__oncontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncontextmenu", this._oncontextmenu);
        }
      }
                         
            if (this._ondragend != null) {
        if (this._ondragend.isLiteralText()) {
          try {
                       
            java.lang.String __ondragend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragend(__ondragend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragend", this._ondragend);
        }
      }
                        
            if (this._ondragenter != null) {
        if (this._ondragenter.isLiteralText()) {
          try {
                       
            java.lang.String __ondragenter = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragenter.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragenter(__ondragenter);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragenter", this._ondragenter);
        }
      }
                        
            if (this._ondragexit != null) {
        if (this._ondragexit.isLiteralText()) {
          try {
                       
            java.lang.String __ondragexit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragexit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragexit(__ondragexit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragexit", this._ondragexit);
        }
      }
                        
            if (this._ondragstart != null) {
        if (this._ondragstart.isLiteralText()) {
          try {
                       
            java.lang.String __ondragstart = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragstart.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragstart(__ondragstart);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragstart", this._ondragstart);
        }
      }
                        
            if (this._ondrop != null) {
        if (this._ondrop.isLiteralText()) {
          try {
                       
            java.lang.String __ondrop = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondrop.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndrop(__ondrop);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondrop", this._ondrop);
        }
      }
                        
            if (this._ondropend != null) {
        if (this._ondropend.isLiteralText()) {
          try {
                       
            java.lang.String __ondropend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropend(__ondropend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropend", this._ondropend);
        }
      }
                        
            if (this._ondropout != null) {
        if (this._ondropout.isLiteralText()) {
          try {
                       
            java.lang.String __ondropout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropout(__ondropout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropout", this._ondropout);
        }
      }
                        
            if (this._ondropover != null) {
        if (this._ondropover.isLiteralText()) {
          try {
                       
            java.lang.String __ondropover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropover(__ondropover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropover", this._ondropover);
        }
      }
                        
            if (this._onexpand != null) {
        if (this._onexpand.isLiteralText()) {
          try {
                       
            java.lang.String __onexpand = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onexpand.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnexpand(__onexpand);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onexpand", this._onexpand);
        }
      }
                                
            if (this._onselected != null) {
        if (this._onselected.isLiteralText()) {
          try {
                       
            java.lang.String __onselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselected(__onselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselected", this._onselected);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._rejectCursors != null) {
        if (this._rejectCursors.isLiteralText()) {
          try {
                       
            java.lang.String __rejectCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rejectCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRejectCursors(__rejectCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rejectCursors", this._rejectCursors);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._selectedClass != null) {
        if (this._selectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedClass(__selectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedClass", this._selectedClass);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._typeMapping != null) {
        if (this._typeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __typeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._typeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTypeMapping(__typeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("typeMapping", this._typeMapping);
View Full Code Here

  private String messageText = "";
  private String messageAddress = "";
  private String messageSubject = "";

  public void nodeSelectListener(NodeSelectedEvent event) {
    HtmlTreeNode node = (HtmlTreeNode) event.getComponent();
    selectedFolder = (EMailFolderBean) node.getData();
  }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlTreeNode comp = (HtmlTreeNode) component;
             
            if (this._acceptCursors != null) {
        if (this._acceptCursors.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCursors(__acceptCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCursors", this._acceptCursors);
        }
      }
                        
            if (this._acceptedTypes != null) {
        if (this._acceptedTypes.isLiteralText()) {
          try {
                       
            java.lang.Object __acceptedTypes = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptedTypes.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setAcceptedTypes(__acceptedTypes);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptedTypes", this._acceptedTypes);
        }
      }
                        
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmitSelection != null) {
        if (this._ajaxSubmitSelection.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxSubmitSelection = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmitSelection", this._ajaxSubmitSelection);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        if(null != this._changeExpandListener){
             if (!this._changeExpandListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._changeExpandListener);
                ((HtmlTreeNode)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._cursorTypeMapping != null) {
        if (this._cursorTypeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __cursorTypeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cursorTypeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCursorTypeMapping(__cursorTypeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cursorTypeMapping", this._cursorTypeMapping);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._dragIndicator != null) {
        if (this._dragIndicator.isLiteralText()) {
          try {
                       
            java.lang.String __dragIndicator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragIndicator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragIndicator(__dragIndicator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragIndicator", this._dragIndicator);
        }
      }
                        if(null != this._dragListener){
             if (!this._dragListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dragListener);
                ((HtmlTreeNode)component).setDragListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dragListener value: " + this._dragListener);
             }
      }
                   
            if (this._dragType != null) {
        if (this._dragType.isLiteralText()) {
          try {
                       
            java.lang.String __dragType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragType(__dragType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragType", this._dragType);
        }
      }
                        
            if (this._dragValue != null) {
        if (this._dragValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dragValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDragValue(__dragValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragValue", this._dragValue);
        }
      }
                        if(null != this._dropListener){
             if (!this._dropListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dropListener);
                ((HtmlTreeNode)component).setDropListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dropListener value: " + this._dropListener);
             }
      }
                   
            if (this._dropValue != null) {
        if (this._dropValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dropValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dropValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDropValue(__dropValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dropValue", this._dropValue);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._grabCursors != null) {
        if (this._grabCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabCursors(__grabCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabCursors", this._grabCursors);
        }
      }
                        
            if (this._grabbingCursors != null) {
        if (this._grabbingCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabbingCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabbingCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabbingCursors(__grabbingCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabbingCursors", this._grabbingCursors);
        }
      }
                        
            if (this._highlightedClass != null) {
        if (this._highlightedClass.isLiteralText()) {
          try {
                       
            java.lang.String __highlightedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlightedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlightedClass(__highlightedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlightedClass", this._highlightedClass);
        }
      }
                        
            if (this._icon != null) {
        if (this._icon.isLiteralText()) {
          try {
                       
            java.lang.String __icon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._icon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIcon(__icon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("icon", this._icon);
        }
      }
                        
            if (this._iconCollapsed != null) {
        if (this._iconCollapsed.isLiteralText()) {
          try {
                       
            java.lang.String __iconCollapsed = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconCollapsed.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconCollapsed(__iconCollapsed);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconCollapsed", this._iconCollapsed);
        }
      }
                         
            if (this._iconExpanded != null) {
        if (this._iconExpanded.isLiteralText()) {
          try {
                       
            java.lang.String __iconExpanded = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconExpanded.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconExpanded(__iconExpanded);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconExpanded", this._iconExpanded);
        }
      }
                          
            if (this._iconLeaf != null) {
        if (this._iconLeaf.isLiteralText()) {
          try {
                       
            java.lang.String __iconLeaf = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconLeaf.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconLeaf(__iconLeaf);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconLeaf", this._iconLeaf);
        }
      }
                          
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._nodeClass != null) {
        if (this._nodeClass.isLiteralText()) {
          try {
                       
            java.lang.String __nodeClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeClass(__nodeClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeClass", this._nodeClass);
        }
      }
                        if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTreeNode)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
             }
      }
                   
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                         
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncontextmenu != null) {
        if (this._oncontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncontextmenu(__oncontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncontextmenu", this._oncontextmenu);
        }
      }
                         
            if (this._ondragend != null) {
        if (this._ondragend.isLiteralText()) {
          try {
                       
            java.lang.String __ondragend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragend(__ondragend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragend", this._ondragend);
        }
      }
                        
            if (this._ondragenter != null) {
        if (this._ondragenter.isLiteralText()) {
          try {
                       
            java.lang.String __ondragenter = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragenter.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragenter(__ondragenter);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragenter", this._ondragenter);
        }
      }
                        
            if (this._ondragexit != null) {
        if (this._ondragexit.isLiteralText()) {
          try {
                       
            java.lang.String __ondragexit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragexit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragexit(__ondragexit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragexit", this._ondragexit);
        }
      }
                        
            if (this._ondragstart != null) {
        if (this._ondragstart.isLiteralText()) {
          try {
                       
            java.lang.String __ondragstart = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragstart.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragstart(__ondragstart);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragstart", this._ondragstart);
        }
      }
                        
            if (this._ondrop != null) {
        if (this._ondrop.isLiteralText()) {
          try {
                       
            java.lang.String __ondrop = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondrop.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndrop(__ondrop);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondrop", this._ondrop);
        }
      }
                        
            if (this._ondropend != null) {
        if (this._ondropend.isLiteralText()) {
          try {
                       
            java.lang.String __ondropend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropend(__ondropend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropend", this._ondropend);
        }
      }
                        
            if (this._ondropout != null) {
        if (this._ondropout.isLiteralText()) {
          try {
                       
            java.lang.String __ondropout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropout(__ondropout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropout", this._ondropout);
        }
      }
                        
            if (this._ondropover != null) {
        if (this._ondropover.isLiteralText()) {
          try {
                       
            java.lang.String __ondropover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropover(__ondropover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropover", this._ondropover);
        }
      }
                        
            if (this._onexpand != null) {
        if (this._onexpand.isLiteralText()) {
          try {
                       
            java.lang.String __onexpand = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onexpand.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnexpand(__onexpand);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onexpand", this._onexpand);
        }
      }
                                
            if (this._onselected != null) {
        if (this._onselected.isLiteralText()) {
          try {
                       
            java.lang.String __onselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselected(__onselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselected", this._onselected);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._rejectCursors != null) {
        if (this._rejectCursors.isLiteralText()) {
          try {
                       
            java.lang.String __rejectCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rejectCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRejectCursors(__rejectCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rejectCursors", this._rejectCursors);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._selectedClass != null) {
        if (this._selectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedClass(__selectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedClass", this._selectedClass);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._typeMapping != null) {
        if (this._typeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __typeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._typeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTypeMapping(__typeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("typeMapping", this._typeMapping);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlTreeNode comp = (HtmlTreeNode) component;
             
            if (this._acceptCursors != null) {
        if (this._acceptCursors.isLiteralText()) {
          try {
                       
            java.lang.String __acceptCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAcceptCursors(__acceptCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptCursors", this._acceptCursors);
        }
      }
                        
            if (this._acceptedTypes != null) {
        if (this._acceptedTypes.isLiteralText()) {
          try {
                       
            java.lang.Object __acceptedTypes = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._acceptedTypes.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setAcceptedTypes(__acceptedTypes);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("acceptedTypes", this._acceptedTypes);
        }
      }
                        
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._ajaxSubmitSelection != null) {
        if (this._ajaxSubmitSelection.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxSubmitSelection = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSubmitSelection", this._ajaxSubmitSelection);
        }
      }
                         
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                        if(null != this._changeExpandListener){
             if (!this._changeExpandListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._changeExpandListener);
                ((HtmlTreeNode)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._cursorTypeMapping != null) {
        if (this._cursorTypeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __cursorTypeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cursorTypeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCursorTypeMapping(__cursorTypeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cursorTypeMapping", this._cursorTypeMapping);
        }
      }
                        
            if (this._data != null) {
        if (this._data.isLiteralText()) {
          try {
                       
            java.lang.Object __data = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._data.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setData(__data);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("data", this._data);
        }
      }
                        
            if (this._dragIndicator != null) {
        if (this._dragIndicator.isLiteralText()) {
          try {
                       
            java.lang.String __dragIndicator = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragIndicator.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragIndicator(__dragIndicator);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragIndicator", this._dragIndicator);
        }
      }
                        if(null != this._dragListener){
             if (!this._dragListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dragListener);
                ((HtmlTreeNode)component).setDragListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dragListener value: " + this._dragListener);
             }
      }
                   
            if (this._dragType != null) {
        if (this._dragType.isLiteralText()) {
          try {
                       
            java.lang.String __dragType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDragType(__dragType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragType", this._dragType);
        }
      }
                        
            if (this._dragValue != null) {
        if (this._dragValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dragValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dragValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDragValue(__dragValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dragValue", this._dragValue);
        }
      }
                        if(null != this._dropListener){
             if (!this._dropListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._dropListener);
                ((HtmlTreeNode)component).setDropListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid dropListener value: " + this._dropListener);
             }
      }
                   
            if (this._dropValue != null) {
        if (this._dropValue.isLiteralText()) {
          try {
                       
            java.lang.Object __dropValue = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dropValue.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDropValue(__dropValue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dropValue", this._dropValue);
        }
      }
                        
            if (this._eventsQueue != null) {
        if (this._eventsQueue.isLiteralText()) {
          try {
                       
            java.lang.String __eventsQueue = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._eventsQueue.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEventsQueue(__eventsQueue);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("eventsQueue", this._eventsQueue);
        }
      }
                         
            if (this._focus != null) {
        if (this._focus.isLiteralText()) {
          try {
                       
            java.lang.String __focus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._focus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFocus(__focus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("focus", this._focus);
        }
      }
                        
            if (this._grabCursors != null) {
        if (this._grabCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabCursors(__grabCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabCursors", this._grabCursors);
        }
      }
                        
            if (this._grabbingCursors != null) {
        if (this._grabbingCursors.isLiteralText()) {
          try {
                       
            java.lang.String __grabbingCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._grabbingCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setGrabbingCursors(__grabbingCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("grabbingCursors", this._grabbingCursors);
        }
      }
                        
            if (this._highlightedClass != null) {
        if (this._highlightedClass.isLiteralText()) {
          try {
                       
            java.lang.String __highlightedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._highlightedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHighlightedClass(__highlightedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("highlightedClass", this._highlightedClass);
        }
      }
                        
            if (this._icon != null) {
        if (this._icon.isLiteralText()) {
          try {
                       
            java.lang.String __icon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._icon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIcon(__icon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("icon", this._icon);
        }
      }
                        
            if (this._iconCollapsed != null) {
        if (this._iconCollapsed.isLiteralText()) {
          try {
                       
            java.lang.String __iconCollapsed = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconCollapsed.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconCollapsed(__iconCollapsed);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconCollapsed", this._iconCollapsed);
        }
      }
                         
            if (this._iconExpanded != null) {
        if (this._iconExpanded.isLiteralText()) {
          try {
                       
            java.lang.String __iconExpanded = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconExpanded.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconExpanded(__iconExpanded);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconExpanded", this._iconExpanded);
        }
      }
                          
            if (this._iconLeaf != null) {
        if (this._iconLeaf.isLiteralText()) {
          try {
                       
            java.lang.String __iconLeaf = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._iconLeaf.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIconLeaf(__iconLeaf);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("iconLeaf", this._iconLeaf);
        }
      }
                          
            if (this._ignoreDupResponses != null) {
        if (this._ignoreDupResponses.isLiteralText()) {
          try {
                       
            Boolean __ignoreDupResponses = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ignoreDupResponses.getExpressionString(),
                      Boolean.class);
         
                        comp.setIgnoreDupResponses(__ignoreDupResponses.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ignoreDupResponses", this._ignoreDupResponses);
        }
      }
                        
            if (this._limitToList != null) {
        if (this._limitToList.isLiteralText()) {
          try {
                       
            Boolean __limitToList = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._limitToList.getExpressionString(),
                      Boolean.class);
         
                        comp.setLimitToList(__limitToList.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("limitToList", this._limitToList);
        }
      }
                        
            if (this._nodeClass != null) {
        if (this._nodeClass.isLiteralText()) {
          try {
                       
            java.lang.String __nodeClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeClass(__nodeClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeClass", this._nodeClass);
        }
      }
                        if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTreeNode)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
             }
      }
                   
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                         
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncontextmenu != null) {
        if (this._oncontextmenu.isLiteralText()) {
          try {
                       
            java.lang.String __oncontextmenu = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncontextmenu.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncontextmenu(__oncontextmenu);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncontextmenu", this._oncontextmenu);
        }
      }
                         
            if (this._ondragend != null) {
        if (this._ondragend.isLiteralText()) {
          try {
                       
            java.lang.String __ondragend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragend(__ondragend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragend", this._ondragend);
        }
      }
                        
            if (this._ondragenter != null) {
        if (this._ondragenter.isLiteralText()) {
          try {
                       
            java.lang.String __ondragenter = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragenter.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragenter(__ondragenter);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragenter", this._ondragenter);
        }
      }
                        
            if (this._ondragexit != null) {
        if (this._ondragexit.isLiteralText()) {
          try {
                       
            java.lang.String __ondragexit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragexit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragexit(__ondragexit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragexit", this._ondragexit);
        }
      }
                        
            if (this._ondragstart != null) {
        if (this._ondragstart.isLiteralText()) {
          try {
                       
            java.lang.String __ondragstart = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondragstart.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndragstart(__ondragstart);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondragstart", this._ondragstart);
        }
      }
                        
            if (this._ondrop != null) {
        if (this._ondrop.isLiteralText()) {
          try {
                       
            java.lang.String __ondrop = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondrop.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndrop(__ondrop);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondrop", this._ondrop);
        }
      }
                        
            if (this._ondropend != null) {
        if (this._ondropend.isLiteralText()) {
          try {
                       
            java.lang.String __ondropend = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropend.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropend(__ondropend);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropend", this._ondropend);
        }
      }
                        
            if (this._ondropout != null) {
        if (this._ondropout.isLiteralText()) {
          try {
                       
            java.lang.String __ondropout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropout(__ondropout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropout", this._ondropout);
        }
      }
                        
            if (this._ondropover != null) {
        if (this._ondropover.isLiteralText()) {
          try {
                       
            java.lang.String __ondropover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondropover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndropover(__ondropover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondropover", this._ondropover);
        }
      }
                        
            if (this._onexpand != null) {
        if (this._onexpand.isLiteralText()) {
          try {
                       
            java.lang.String __onexpand = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onexpand.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnexpand(__onexpand);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onexpand", this._onexpand);
        }
      }
                                
            if (this._onselected != null) {
        if (this._onselected.isLiteralText()) {
          try {
                       
            java.lang.String __onselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselected(__onselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselected", this._onselected);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._rejectCursors != null) {
        if (this._rejectCursors.isLiteralText()) {
          try {
                       
            java.lang.String __rejectCursors = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._rejectCursors.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRejectCursors(__rejectCursors);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("rejectCursors", this._rejectCursors);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._selectedClass != null) {
        if (this._selectedClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedClass(__selectedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedClass", this._selectedClass);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._type != null) {
        if (this._type.isLiteralText()) {
          try {
                       
            java.lang.String __type = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._type.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setType(__type);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("type", this._type);
        }
      }
                        
            if (this._typeMapping != null) {
        if (this._typeMapping.isLiteralText()) {
          try {
                       
            java.lang.Object __typeMapping = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._typeMapping.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setTypeMapping(__typeMapping);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("typeMapping", this._typeMapping);
View Full Code Here

TOP

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

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.