Package javax.faces.el

Examples of javax.faces.el.MethodBinding


        }
      }
                        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);
View Full Code Here


        }
      }
                        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);
View Full Code Here

    // Perform standard superclass processing
    super.broadcast(event);

    if (event instanceof ValueChangeEvent) {
      MethodBinding method = getValueChangeListener();
      if (method != null) {
        FacesContext context = getFacesContext();
        method.invoke(context, new Object[] { event });
      }
    }

  }
View Full Code Here

        }
      }
                          if(null != this._fileUploadListener){
             if (!this._fileUploadListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._fileUploadListener);
                ((HtmlFileUpload)component).setFileUploadListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid fileUploadListener value: " + this._fileUploadListener);
View Full Code Here

        }
      }
                          if(null != this._fileUploadListener){
             if (!this._fileUploadListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._fileUploadListener);
                ((HtmlFileUpload)component).setFileUploadListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid fileUploadListener value: " + this._fileUploadListener);
View Full Code Here

      if (null == stateAdvisor) {
        if (null == methodBindingAdvisor) {
          methodBindingAdvisor = new TreeStateAdvisor() {
            public Boolean adviseNodeOpened(UITree tree) {
              MethodBinding adviseNodeOpened = tree.getAdviseNodeOpened();
              if (null != adviseNodeOpened) {
                return (Boolean) adviseNodeOpened.invoke(FacesContext.getCurrentInstance(), new Object[] {tree});
              }
              return null;
            }

            public Boolean adviseNodeSelected(UITree tree) {
              MethodBinding adviseNodeSelected = tree.getAdviseNodeSelected();
              if (null != adviseNodeSelected) {
                return (Boolean) adviseNodeSelected.invoke(FacesContext.getCurrentInstance(), new Object [] {tree});
              }
              return null;
            }
          };
        }
View Full Code Here

        }
      }
                        if(null != this._adviseNodeOpened){
             if (!this._adviseNodeOpened.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._adviseNodeOpened);
                ((HtmlTree)component).setAdviseNodeOpened(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid adviseNodeOpened value: " + this._adviseNodeOpened);
             }
      }
                  if(null != this._adviseNodeSelected){
             if (!this._adviseNodeSelected.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._adviseNodeSelected);
                ((HtmlTree)component).setAdviseNodeSelected(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid adviseNodeSelected value: " + this._adviseNodeSelected);
             }
      }
                  
            if (this._ajaxChildActivationEncodeBehavior != null) {
        if (this._ajaxChildActivationEncodeBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxChildActivationEncodeBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxChildActivationEncodeBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxChildActivationEncodeBehavior(__ajaxChildActivationEncodeBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxChildActivationEncodeBehavior", this._ajaxChildActivationEncodeBehavior);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                        
            if (this._ajaxNodeKeys != null) {
        if (this._ajaxNodeKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxNodeKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxNodeKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxNodeKeys(__ajaxNodeKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxNodeKeys", this._ajaxNodeKeys);
        }
      }
                        
            if (this._ajaxNodeSelectionEncodeBehavior != null) {
        if (this._ajaxNodeSelectionEncodeBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxNodeSelectionEncodeBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxNodeSelectionEncodeBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxNodeSelectionEncodeBehavior(__ajaxNodeSelectionEncodeBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxNodeSelectionEncodeBehavior", this._ajaxNodeSelectionEncodeBehavior);
        }
      }
                        
            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 {
                       
            Boolean __ajaxSubmitSelection = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection.booleanValue());
                      } 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);
                ((HtmlTree)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._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._disableKeyboardNavigation != null) {
        if (this._disableKeyboardNavigation.isLiteralText()) {
          try {
                       
            Boolean __disableKeyboardNavigation = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableKeyboardNavigation.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableKeyboardNavigation(__disableKeyboardNavigation.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableKeyboardNavigation", this._disableKeyboardNavigation);
        }
      }
                        
            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);
                ((HtmlTree)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);
                ((HtmlTree)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._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._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._nodeFace != null) {
        if (this._nodeFace.isLiteralText()) {
          try {
                       
            java.lang.String __nodeFace = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeFace.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeFace(__nodeFace);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeFace", this._nodeFace);
        }
      }
                          if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTree)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
View Full Code Here

        }
      }
                        if(null != this._adviseNodeOpened){
             if (!this._adviseNodeOpened.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._adviseNodeOpened);
                ((HtmlTree)component).setAdviseNodeOpened(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid adviseNodeOpened value: " + this._adviseNodeOpened);
             }
      }
                  if(null != this._adviseNodeSelected){
             if (!this._adviseNodeSelected.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._adviseNodeSelected);
                ((HtmlTree)component).setAdviseNodeSelected(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid adviseNodeSelected value: " + this._adviseNodeSelected);
             }
      }
                  
            if (this._ajaxChildActivationEncodeBehavior != null) {
        if (this._ajaxChildActivationEncodeBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxChildActivationEncodeBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxChildActivationEncodeBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxChildActivationEncodeBehavior(__ajaxChildActivationEncodeBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxChildActivationEncodeBehavior", this._ajaxChildActivationEncodeBehavior);
        }
      }
                        
            if (this._ajaxKeys != null) {
        if (this._ajaxKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxKeys(__ajaxKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxKeys", this._ajaxKeys);
        }
      }
                        
            if (this._ajaxNodeKeys != null) {
        if (this._ajaxNodeKeys.isLiteralText()) {
          try {
                       
            java.util.Set __ajaxNodeKeys = (java.util.Set) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxNodeKeys.getExpressionString(),
                      java.util.Set.class);
         
                        comp.setAjaxNodeKeys(__ajaxNodeKeys);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxNodeKeys", this._ajaxNodeKeys);
        }
      }
                        
            if (this._ajaxNodeSelectionEncodeBehavior != null) {
        if (this._ajaxNodeSelectionEncodeBehavior.isLiteralText()) {
          try {
                       
            java.lang.String __ajaxNodeSelectionEncodeBehavior = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxNodeSelectionEncodeBehavior.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setAjaxNodeSelectionEncodeBehavior(__ajaxNodeSelectionEncodeBehavior);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxNodeSelectionEncodeBehavior", this._ajaxNodeSelectionEncodeBehavior);
        }
      }
                        
            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 {
                       
            Boolean __ajaxSubmitSelection = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSubmitSelection.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSubmitSelection(__ajaxSubmitSelection.booleanValue());
                      } 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);
                ((HtmlTree)component).setChangeExpandListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid changeExpandListener value: " + this._changeExpandListener);
             }
      }
                   
            if (this._componentState != null) {
        if (this._componentState.isLiteralText()) {
          try {
                       
            org.ajax4jsf.model.DataComponentState __componentState = (org.ajax4jsf.model.DataComponentState) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._componentState.getExpressionString(),
                      org.ajax4jsf.model.DataComponentState.class);
         
                        comp.setComponentState(__componentState);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("componentState", this._componentState);
        }
      }
                        
            if (this._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._disableKeyboardNavigation != null) {
        if (this._disableKeyboardNavigation.isLiteralText()) {
          try {
                       
            Boolean __disableKeyboardNavigation = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disableKeyboardNavigation.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisableKeyboardNavigation(__disableKeyboardNavigation.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disableKeyboardNavigation", this._disableKeyboardNavigation);
        }
      }
                        
            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);
                ((HtmlTree)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);
                ((HtmlTree)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._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                         
            if (this._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._nodeFace != null) {
        if (this._nodeFace.isLiteralText()) {
          try {
                       
            java.lang.String __nodeFace = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._nodeFace.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setNodeFace(__nodeFace);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("nodeFace", this._nodeFace);
        }
      }
                          if(null != this._nodeSelectListener){
             if (!this._nodeSelectListener.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._nodeSelectListener);
                ((HtmlTree)component).setNodeSelectListener(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid nodeSelectListener value: " + this._nodeSelectListener);
View Full Code Here

        }
      }
                        if(null != this._createContent){
             if (!this._createContent.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._createContent);
                ((MediaOutput)component).setCreateContent(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid createContent value: " + this._createContent);
View Full Code Here

        }
      }
                        if(null != this._createContent){
             if (!this._createContent.isLiteralText())
             {
                MethodBinding mb = new MethodBindingMethodExpressionAdaptor(this._createContent);
                ((MediaOutput)component).setCreateContent(mb);
             }
             else
             {
                getFacesContext().getExternalContext().log("Component " + component.getClientId(getFacesContext()) + " has invalid createContent value: " + this._createContent);
View Full Code Here

TOP

Related Classes of javax.faces.el.MethodBinding

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.