Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlDropDownMenu


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDropDownMenu comp = (HtmlDropDownMenu) component;
             
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledItemClass != null) {
        if (this._disabledItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemClass(__disabledItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemClass", this._disabledItemClass);
        }
      }
                        
            if (this._disabledItemStyle != null) {
        if (this._disabledItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemStyle(__disabledItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
        }
      }
                        
            if (this._disabledLabelClass != null) {
        if (this._disabledLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledLabelClass(__disabledLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledLabelClass", this._disabledLabelClass);
        }
      }
                        
            if (this._event != null) {
        if (this._event.isLiteralText()) {
          try {
                       
            java.lang.String __event = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._event.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEvent(__event);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("event", this._event);
        }
      }
                         
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __hideDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHideDelay(__hideDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._itemClass != null) {
        if (this._itemClass.isLiteralText()) {
          try {
                       
            java.lang.String __itemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemClass(__itemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemClass", this._itemClass);
        }
      }
                        
            if (this._itemStyle != null) {
        if (this._itemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __itemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemStyle(__itemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemStyle", this._itemStyle);
        }
      }
                        
            if (this._jointPoint != null) {
        if (this._jointPoint.isLiteralText()) {
          try {
                       
            java.lang.String __jointPoint = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._jointPoint.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setJointPoint(__jointPoint);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("jointPoint", this._jointPoint);
        }
      }
                        
            if (this._labelClass != null) {
        if (this._labelClass.isLiteralText()) {
          try {
                       
            java.lang.String __labelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._labelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabelClass(__labelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("labelClass", this._labelClass);
        }
      }
                        
            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._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._ongroupactivate != null) {
        if (this._ongroupactivate.isLiteralText()) {
          try {
                       
            java.lang.String __ongroupactivate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ongroupactivate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOngroupactivate(__ongroupactivate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ongroupactivate", this._ongroupactivate);
        }
      }
                        
            if (this._onitemselect != null) {
        if (this._onitemselect.isLiteralText()) {
          try {
                       
            java.lang.String __onitemselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemselect(__onitemselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemselect", this._onitemselect);
        }
      }
                           
            if (this._popupWidth != null) {
        if (this._popupWidth.isLiteralText()) {
          try {
                       
            java.lang.String __popupWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popupWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPopupWidth(__popupWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popupWidth", this._popupWidth);
        }
      }
                         
            if (this._selectItemClass != null) {
        if (this._selectItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemClass(__selectItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemClass", this._selectItemClass);
        }
      }
                        
            if (this._selectItemStyle != null) {
        if (this._selectItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemStyle(__selectItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemStyle", this._selectItemStyle);
        }
      }
                        
            if (this._selectedLabelClass != null) {
        if (this._selectedLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedLabelClass(__selectedLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedLabelClass", this._selectedLabelClass);
        }
      }
                        
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setShowDelay(__showDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                          
            if (this._submitMode != null) {
        if (this._submitMode.isLiteralText()) {
          try {
                       
            java.lang.String __submitMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._submitMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSubmitMode(__submitMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("submitMode", this._submitMode);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDropDownMenu comp = (HtmlDropDownMenu) component;
             
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledItemClass != null) {
        if (this._disabledItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemClass(__disabledItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemClass", this._disabledItemClass);
        }
      }
                        
            if (this._disabledItemStyle != null) {
        if (this._disabledItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemStyle(__disabledItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
        }
      }
                        
            if (this._disabledLabelClass != null) {
        if (this._disabledLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledLabelClass(__disabledLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledLabelClass", this._disabledLabelClass);
        }
      }
                        
            if (this._event != null) {
        if (this._event.isLiteralText()) {
          try {
                       
            java.lang.String __event = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._event.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEvent(__event);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("event", this._event);
        }
      }
                         
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __hideDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHideDelay(__hideDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._itemClass != null) {
        if (this._itemClass.isLiteralText()) {
          try {
                       
            java.lang.String __itemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemClass(__itemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemClass", this._itemClass);
        }
      }
                        
            if (this._itemStyle != null) {
        if (this._itemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __itemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemStyle(__itemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemStyle", this._itemStyle);
        }
      }
                        
            if (this._jointPoint != null) {
        if (this._jointPoint.isLiteralText()) {
          try {
                       
            java.lang.String __jointPoint = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._jointPoint.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setJointPoint(__jointPoint);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("jointPoint", this._jointPoint);
        }
      }
                        
            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._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._ongroupactivate != null) {
        if (this._ongroupactivate.isLiteralText()) {
          try {
                       
            java.lang.String __ongroupactivate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ongroupactivate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOngroupactivate(__ongroupactivate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ongroupactivate", this._ongroupactivate);
        }
      }
                        
            if (this._onitemselect != null) {
        if (this._onitemselect.isLiteralText()) {
          try {
                       
            java.lang.String __onitemselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemselect(__onitemselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemselect", this._onitemselect);
        }
      }
                           
            if (this._popupWidth != null) {
        if (this._popupWidth.isLiteralText()) {
          try {
                       
            java.lang.String __popupWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popupWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPopupWidth(__popupWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popupWidth", this._popupWidth);
        }
      }
                         
            if (this._selectItemClass != null) {
        if (this._selectItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemClass(__selectItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemClass", this._selectItemClass);
        }
      }
                        
            if (this._selectItemStyle != null) {
        if (this._selectItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemStyle(__selectItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemStyle", this._selectItemStyle);
        }
      }
                        
            if (this._selectedLabelClass != null) {
        if (this._selectedLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedLabelClass(__selectedLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedLabelClass", this._selectedLabelClass);
        }
      }
                        
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setShowDelay(__showDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                          
            if (this._submitMode != null) {
        if (this._submitMode.isLiteralText()) {
          try {
                       
            java.lang.String __submitMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._submitMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSubmitMode(__submitMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("submitMode", this._submitMode);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDropDownMenu comp = (HtmlDropDownMenu) component;
             
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledItemClass != null) {
        if (this._disabledItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemClass(__disabledItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemClass", this._disabledItemClass);
        }
      }
                        
            if (this._disabledItemStyle != null) {
        if (this._disabledItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemStyle(__disabledItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
        }
      }
                        
            if (this._disabledLabelClass != null) {
        if (this._disabledLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledLabelClass(__disabledLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledLabelClass", this._disabledLabelClass);
        }
      }
                        
            if (this._event != null) {
        if (this._event.isLiteralText()) {
          try {
                       
            java.lang.String __event = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._event.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEvent(__event);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("event", this._event);
        }
      }
                         
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __hideDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHideDelay(__hideDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._itemClass != null) {
        if (this._itemClass.isLiteralText()) {
          try {
                       
            java.lang.String __itemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemClass(__itemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemClass", this._itemClass);
        }
      }
                        
            if (this._itemStyle != null) {
        if (this._itemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __itemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemStyle(__itemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemStyle", this._itemStyle);
        }
      }
                        
            if (this._jointPoint != null) {
        if (this._jointPoint.isLiteralText()) {
          try {
                       
            java.lang.String __jointPoint = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._jointPoint.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setJointPoint(__jointPoint);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("jointPoint", this._jointPoint);
        }
      }
                        
            if (this._labelClass != null) {
        if (this._labelClass.isLiteralText()) {
          try {
                       
            java.lang.String __labelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._labelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabelClass(__labelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("labelClass", this._labelClass);
        }
      }
                        
            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._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._ongroupactivate != null) {
        if (this._ongroupactivate.isLiteralText()) {
          try {
                       
            java.lang.String __ongroupactivate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ongroupactivate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOngroupactivate(__ongroupactivate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ongroupactivate", this._ongroupactivate);
        }
      }
                        
            if (this._onitemselect != null) {
        if (this._onitemselect.isLiteralText()) {
          try {
                       
            java.lang.String __onitemselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemselect(__onitemselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemselect", this._onitemselect);
        }
      }
                           
            if (this._popupWidth != null) {
        if (this._popupWidth.isLiteralText()) {
          try {
                       
            java.lang.String __popupWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popupWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPopupWidth(__popupWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popupWidth", this._popupWidth);
        }
      }
                         
            if (this._selectItemClass != null) {
        if (this._selectItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemClass(__selectItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemClass", this._selectItemClass);
        }
      }
                        
            if (this._selectItemStyle != null) {
        if (this._selectItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemStyle(__selectItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemStyle", this._selectItemStyle);
        }
      }
                        
            if (this._selectedLabelClass != null) {
        if (this._selectedLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedLabelClass(__selectedLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedLabelClass", this._selectedLabelClass);
        }
      }
                        
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setShowDelay(__showDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                          
            if (this._submitMode != null) {
        if (this._submitMode.isLiteralText()) {
          try {
                       
            java.lang.String __submitMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._submitMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSubmitMode(__submitMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("submitMode", this._submitMode);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDropDownMenu comp = (HtmlDropDownMenu) component;
             
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledItemClass != null) {
        if (this._disabledItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemClass(__disabledItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemClass", this._disabledItemClass);
        }
      }
                        
            if (this._disabledItemStyle != null) {
        if (this._disabledItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemStyle(__disabledItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
        }
      }
                        
            if (this._disabledLabelClass != null) {
        if (this._disabledLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledLabelClass(__disabledLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledLabelClass", this._disabledLabelClass);
        }
      }
                        
            if (this._event != null) {
        if (this._event.isLiteralText()) {
          try {
                       
            java.lang.String __event = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._event.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEvent(__event);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("event", this._event);
        }
      }
                         
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __hideDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHideDelay(__hideDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._itemClass != null) {
        if (this._itemClass.isLiteralText()) {
          try {
                       
            java.lang.String __itemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemClass(__itemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemClass", this._itemClass);
        }
      }
                        
            if (this._itemStyle != null) {
        if (this._itemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __itemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemStyle(__itemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemStyle", this._itemStyle);
        }
      }
                        
            if (this._jointPoint != null) {
        if (this._jointPoint.isLiteralText()) {
          try {
                       
            java.lang.String __jointPoint = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._jointPoint.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setJointPoint(__jointPoint);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("jointPoint", this._jointPoint);
        }
      }
                        
            if (this._labelClass != null) {
        if (this._labelClass.isLiteralText()) {
          try {
                       
            java.lang.String __labelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._labelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabelClass(__labelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("labelClass", this._labelClass);
        }
      }
                        
            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._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._ongroupactivate != null) {
        if (this._ongroupactivate.isLiteralText()) {
          try {
                       
            java.lang.String __ongroupactivate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ongroupactivate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOngroupactivate(__ongroupactivate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ongroupactivate", this._ongroupactivate);
        }
      }
                        
            if (this._onitemselect != null) {
        if (this._onitemselect.isLiteralText()) {
          try {
                       
            java.lang.String __onitemselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemselect(__onitemselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemselect", this._onitemselect);
        }
      }
                           
            if (this._popupWidth != null) {
        if (this._popupWidth.isLiteralText()) {
          try {
                       
            java.lang.String __popupWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popupWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPopupWidth(__popupWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popupWidth", this._popupWidth);
        }
      }
                         
            if (this._selectItemClass != null) {
        if (this._selectItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemClass(__selectItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemClass", this._selectItemClass);
        }
      }
                        
            if (this._selectItemStyle != null) {
        if (this._selectItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemStyle(__selectItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemStyle", this._selectItemStyle);
        }
      }
                        
            if (this._selectedLabelClass != null) {
        if (this._selectedLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedLabelClass(__selectedLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedLabelClass", this._selectedLabelClass);
        }
      }
                        
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setShowDelay(__showDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                          
            if (this._submitMode != null) {
        if (this._submitMode.isLiteralText()) {
          try {
                       
            java.lang.String __submitMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._submitMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSubmitMode(__submitMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("submitMode", this._submitMode);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlDropDownMenu comp = (HtmlDropDownMenu) component;
             
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                        
            if (this._disabledItemClass != null) {
        if (this._disabledItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemClass(__disabledItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemClass", this._disabledItemClass);
        }
      }
                        
            if (this._disabledItemStyle != null) {
        if (this._disabledItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __disabledItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledItemStyle(__disabledItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledItemStyle", this._disabledItemStyle);
        }
      }
                        
            if (this._disabledLabelClass != null) {
        if (this._disabledLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __disabledLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabledLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDisabledLabelClass(__disabledLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabledLabelClass", this._disabledLabelClass);
        }
      }
                        
            if (this._event != null) {
        if (this._event.isLiteralText()) {
          try {
                       
            java.lang.String __event = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._event.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEvent(__event);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("event", this._event);
        }
      }
                         
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __hideDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHideDelay(__hideDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._itemClass != null) {
        if (this._itemClass.isLiteralText()) {
          try {
                       
            java.lang.String __itemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemClass(__itemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemClass", this._itemClass);
        }
      }
                        
            if (this._itemStyle != null) {
        if (this._itemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __itemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._itemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setItemStyle(__itemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("itemStyle", this._itemStyle);
        }
      }
                        
            if (this._jointPoint != null) {
        if (this._jointPoint.isLiteralText()) {
          try {
                       
            java.lang.String __jointPoint = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._jointPoint.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setJointPoint(__jointPoint);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("jointPoint", this._jointPoint);
        }
      }
                        
            if (this._labelClass != null) {
        if (this._labelClass.isLiteralText()) {
          try {
                       
            java.lang.String __labelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._labelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabelClass(__labelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("labelClass", this._labelClass);
        }
      }
                        
            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._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._ongroupactivate != null) {
        if (this._ongroupactivate.isLiteralText()) {
          try {
                       
            java.lang.String __ongroupactivate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ongroupactivate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOngroupactivate(__ongroupactivate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ongroupactivate", this._ongroupactivate);
        }
      }
                        
            if (this._onitemselect != null) {
        if (this._onitemselect.isLiteralText()) {
          try {
                       
            java.lang.String __onitemselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onitemselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnitemselect(__onitemselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onitemselect", this._onitemselect);
        }
      }
                           
            if (this._popupWidth != null) {
        if (this._popupWidth.isLiteralText()) {
          try {
                       
            java.lang.String __popupWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popupWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPopupWidth(__popupWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popupWidth", this._popupWidth);
        }
      }
                         
            if (this._selectItemClass != null) {
        if (this._selectItemClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemClass(__selectItemClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemClass", this._selectItemClass);
        }
      }
                        
            if (this._selectItemStyle != null) {
        if (this._selectItemStyle.isLiteralText()) {
          try {
                       
            java.lang.String __selectItemStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectItemStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectItemStyle(__selectItemStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectItemStyle", this._selectItemStyle);
        }
      }
                        
            if (this._selectedLabelClass != null) {
        if (this._selectedLabelClass.isLiteralText()) {
          try {
                       
            java.lang.String __selectedLabelClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectedLabelClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectedLabelClass(__selectedLabelClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectedLabelClass", this._selectedLabelClass);
        }
      }
                        
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            java.lang.Integer __showDelay = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setShowDelay(__showDelay);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                          
            if (this._submitMode != null) {
        if (this._submitMode.isLiteralText()) {
          try {
                       
            java.lang.String __submitMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._submitMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSubmitMode(__submitMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("submitMode", this._submitMode);
        }
      }
                        
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
View Full Code Here

TOP

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

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.