Examples of HtmlCalendar


Examples of org.richfaces.component.html.HtmlCalendar

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlCalendar comp = (HtmlCalendar) component;
            
            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._boundaryDatesMode != null) {
        if (this._boundaryDatesMode.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryDatesMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryDatesMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryDatesMode(__boundaryDatesMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryDatesMode", this._boundaryDatesMode);
        }
      }
                        
            if (this._buttonClass != null) {
        if (this._buttonClass.isLiteralText()) {
          try {
                       
            java.lang.String __buttonClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonClass(__buttonClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonClass", this._buttonClass);
        }
      }
                        
            if (this._buttonIcon != null) {
        if (this._buttonIcon.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIcon(__buttonIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIcon", this._buttonIcon);
        }
      }
                        
            if (this._buttonIconDisabled != null) {
        if (this._buttonIconDisabled.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIconDisabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIconDisabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIconDisabled(__buttonIconDisabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIconDisabled", this._buttonIconDisabled);
        }
      }
                        
            if (this._buttonLabel != null) {
        if (this._buttonLabel.isLiteralText()) {
          try {
                       
            java.lang.String __buttonLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonLabel(__buttonLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonLabel", this._buttonLabel);
        }
      }
                        
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                         
            if (this._cellHeight != null) {
        if (this._cellHeight.isLiteralText()) {
          try {
                       
            java.lang.String __cellHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellHeight(__cellHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellHeight", this._cellHeight);
        }
      }
                        
            if (this._cellWidth != null) {
        if (this._cellWidth.isLiteralText()) {
          try {
                       
            java.lang.String __cellWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellWidth(__cellWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellWidth", this._cellWidth);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._currentDate != null) {
        if (this._currentDate.isLiteralText()) {
          try {
                       
            java.lang.Object __currentDate = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._currentDate.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCurrentDate(__currentDate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("currentDate", this._currentDate);
        }
      }
                        if(null != this._currentDateChangeListener){
        ((HtmlCalendar)component).setCurrentDateChangeListener(this._currentDateChangeListener);
      }   
                              if(null != this._dataModel && this._dataModel.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property dataModel");
        }
      
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            org.richfaces.model.CalendarDataModel __dataModel = (org.richfaces.model.CalendarDataModel) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      org.richfaces.model.CalendarDataModel.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                        
            if (this._datePattern != null) {
        if (this._datePattern.isLiteralText()) {
          try {
                       
            java.lang.String __datePattern = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._datePattern.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDatePattern(__datePattern);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("datePattern", this._datePattern);
        }
      }
                        
            if (this._dayStyleClass != null) {
        if (this._dayStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __dayStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dayStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDayStyleClass(__dayStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dayStyleClass", this._dayStyleClass);
        }
      }
                        
            if (this._defaultTime != null) {
        if (this._defaultTime.isLiteralText()) {
          try {
                       
            java.lang.Object __defaultTime = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultTime.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDefaultTime(__defaultTime);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultTime", this._defaultTime);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                        
            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._firstWeekDay != null) {
        if (this._firstWeekDay.isLiteralText()) {
          try {
                       
            Integer __firstWeekDay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._firstWeekDay.getExpressionString(),
                      Integer.class);
         
                        comp.setFirstWeekDay(__firstWeekDay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("firstWeekDay", this._firstWeekDay);
        }
      }
                        
            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._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._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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            if (this._isDayEnabled != null) {
        if (this._isDayEnabled.isLiteralText()) {
          try {
                       
            java.lang.String __isDayEnabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._isDayEnabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIsDayEnabled(__isDayEnabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("isDayEnabled", this._isDayEnabled);
        }
      }
                        
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._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._locale != null) {
        if (this._locale.isLiteralText()) {
          try {
                       
            java.lang.Object __locale = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._locale.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setLocale(__locale);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("locale", this._locale);
        }
      }
                        
            if (this._minDaysInFirstWeek != null) {
        if (this._minDaysInFirstWeek.isLiteralText()) {
          try {
                       
            Integer __minDaysInFirstWeek = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minDaysInFirstWeek.getExpressionString(),
                      Integer.class);
         
                        comp.setMinDaysInFirstWeek(__minDaysInFirstWeek.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minDaysInFirstWeek", this._minDaysInFirstWeek);
        }
      }
                        
            if (this._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                        
            if (this._monthLabels != null) {
        if (this._monthLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabels(__monthLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabels", this._monthLabels);
        }
      }
                        
            if (this._monthLabelsShort != null) {
        if (this._monthLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabelsShort(__monthLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabelsShort", this._monthLabelsShort);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._onchanged != null) {
        if (this._onchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchanged(__onchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchanged", this._onchanged);
        }
      }
                        
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncurrentdateselect != null) {
        if (this._oncurrentdateselect.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselect(__oncurrentdateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselect", this._oncurrentdateselect);
        }
      }
                        
            if (this._oncurrentdateselected != null) {
        if (this._oncurrentdateselected.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselected(__oncurrentdateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselected", this._oncurrentdateselected);
        }
      }
                        
            if (this._ondatemouseout != null) {
        if (this._ondatemouseout.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseout(__ondatemouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseout", this._ondatemouseout);
        }
      }
                        
            if (this._ondatemouseover != null) {
        if (this._ondatemouseover.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseover(__ondatemouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseover", this._ondatemouseover);
        }
      }
                        
            if (this._ondateselect != null) {
        if (this._ondateselect.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselect(__ondateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselect", this._ondateselect);
        }
      }
                        
            if (this._ondateselected != null) {
        if (this._ondateselected.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselected(__ondateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselected", this._ondateselected);
        }
      }
                        
            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._oninputblur != null) {
        if (this._oninputblur.isLiteralText()) {
          try {
                       
            java.lang.String __oninputblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputblur(__oninputblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputblur", this._oninputblur);
        }
      }
                        
            if (this._oninputchange != null) {
        if (this._oninputchange.isLiteralText()) {
          try {
                       
            java.lang.String __oninputchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputchange(__oninputchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputchange", this._oninputchange);
        }
      }
                        
            if (this._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputfocus != null) {
        if (this._oninputfocus.isLiteralText()) {
          try {
                       
            java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputfocus(__oninputfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputfocus", this._oninputfocus);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputselect != null) {
        if (this._oninputselect.isLiteralText()) {
          try {
                       
            java.lang.String __oninputselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputselect(__oninputselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputselect", this._oninputselect);
        }
      }
                        
            if (this._ontimeselect != null) {
        if (this._ontimeselect.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselect(__ontimeselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselect", this._ontimeselect);
        }
      }
                        
            if (this._ontimeselected != null) {
        if (this._ontimeselected.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselected(__ontimeselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselected", this._ontimeselected);
        }
      }
                        
            if (this._popup != null) {
        if (this._popup.isLiteralText()) {
          try {
                       
            Boolean __popup = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popup.getExpressionString(),
                      Boolean.class);
         
                        comp.setPopup(__popup.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popup", this._popup);
        }
      }
                          
            if (this._preloadDateRangeBegin != null) {
        if (this._preloadDateRangeBegin.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeBegin = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeBegin.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeBegin(__preloadDateRangeBegin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeBegin", this._preloadDateRangeBegin);
        }
      }
                        
            if (this._preloadDateRangeEnd != null) {
        if (this._preloadDateRangeEnd.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeEnd = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeEnd.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeEnd(__preloadDateRangeEnd);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeEnd", this._preloadDateRangeEnd);
        }
      }
                         
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._readonly != null) {
        if (this._readonly.isLiteralText()) {
          try {
                       
            Boolean __readonly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._readonly.getExpressionString(),
                      Boolean.class);
         
                        comp.setReadonly(__readonly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("readonly", this._readonly);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                        
            if (this._resetTimeOnDateSelect != null) {
        if (this._resetTimeOnDateSelect.isLiteralText()) {
          try {
                       
            Boolean __resetTimeOnDateSelect = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resetTimeOnDateSelect.getExpressionString(),
                      Boolean.class);
         
                        comp.setResetTimeOnDateSelect(__resetTimeOnDateSelect.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resetTimeOnDateSelect", this._resetTimeOnDateSelect);
        }
      }
                        
            if (this._showApplyButton != null) {
        if (this._showApplyButton.isLiteralText()) {
          try {
                       
            Boolean __showApplyButton = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showApplyButton.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowApplyButton(__showApplyButton.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showApplyButton", this._showApplyButton);
        }
      }
                        
            if (this._showFooter != null) {
        if (this._showFooter.isLiteralText()) {
          try {
                       
            Boolean __showFooter = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showFooter.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowFooter(__showFooter.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showFooter", this._showFooter);
        }
      }
                        
            if (this._showHeader != null) {
        if (this._showHeader.isLiteralText()) {
          try {
                       
            Boolean __showHeader = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showHeader.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowHeader(__showHeader.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showHeader", this._showHeader);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showWeekDaysBar != null) {
        if (this._showWeekDaysBar.isLiteralText()) {
          try {
                       
            Boolean __showWeekDaysBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeekDaysBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeekDaysBar(__showWeekDaysBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeekDaysBar", this._showWeekDaysBar);
        }
      }
                        
            if (this._showWeeksBar != null) {
        if (this._showWeeksBar.isLiteralText()) {
          try {
                       
            Boolean __showWeeksBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeeksBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeeksBar(__showWeeksBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeeksBar", this._showWeeksBar);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                                 if(null != this._timeZone && this._timeZone.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property timeZone");
        }
      
            if (this._timeZone != null) {
        if (this._timeZone.isLiteralText()) {
          try {
                       
            java.util.TimeZone __timeZone = (java.util.TimeZone) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeZone.getExpressionString(),
                      java.util.TimeZone.class);
         
                        comp.setTimeZone(__timeZone);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeZone", this._timeZone);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._todayControlMode != null) {
        if (this._todayControlMode.isLiteralText()) {
          try {
                       
            java.lang.String __todayControlMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._todayControlMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTodayControlMode(__todayControlMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("todayControlMode", this._todayControlMode);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            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);
        }
      }
                        
            if (this._weekDayLabels != null) {
        if (this._weekDayLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabels(__weekDayLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabels", this._weekDayLabels);
        }
      }
                        
            if (this._weekDayLabelsShort != null) {
        if (this._weekDayLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabelsShort(__weekDayLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabelsShort", this._weekDayLabelsShort);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlCalendar

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlCalendar comp = (HtmlCalendar) component;
            
            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._boundaryDatesMode != null) {
        if (this._boundaryDatesMode.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryDatesMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryDatesMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryDatesMode(__boundaryDatesMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryDatesMode", this._boundaryDatesMode);
        }
      }
                        
            if (this._buttonClass != null) {
        if (this._buttonClass.isLiteralText()) {
          try {
                       
            java.lang.String __buttonClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonClass(__buttonClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonClass", this._buttonClass);
        }
      }
                        
            if (this._buttonIcon != null) {
        if (this._buttonIcon.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIcon(__buttonIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIcon", this._buttonIcon);
        }
      }
                        
            if (this._buttonIconDisabled != null) {
        if (this._buttonIconDisabled.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIconDisabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIconDisabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIconDisabled(__buttonIconDisabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIconDisabled", this._buttonIconDisabled);
        }
      }
                        
            if (this._buttonLabel != null) {
        if (this._buttonLabel.isLiteralText()) {
          try {
                       
            java.lang.String __buttonLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonLabel(__buttonLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonLabel", this._buttonLabel);
        }
      }
                        
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                         
            if (this._cellHeight != null) {
        if (this._cellHeight.isLiteralText()) {
          try {
                       
            java.lang.String __cellHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellHeight(__cellHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellHeight", this._cellHeight);
        }
      }
                        
            if (this._cellWidth != null) {
        if (this._cellWidth.isLiteralText()) {
          try {
                       
            java.lang.String __cellWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellWidth(__cellWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellWidth", this._cellWidth);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._currentDate != null) {
        if (this._currentDate.isLiteralText()) {
          try {
                       
            java.lang.Object __currentDate = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._currentDate.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCurrentDate(__currentDate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("currentDate", this._currentDate);
        }
      }
                        if(null != this._currentDateChangeListener){
        ((HtmlCalendar)component).setCurrentDateChangeListener(this._currentDateChangeListener);
      }   
                              if(null != this._dataModel && this._dataModel.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property dataModel");
        }
      
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            org.richfaces.model.CalendarDataModel __dataModel = (org.richfaces.model.CalendarDataModel) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      org.richfaces.model.CalendarDataModel.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                        
            if (this._datePattern != null) {
        if (this._datePattern.isLiteralText()) {
          try {
                       
            java.lang.String __datePattern = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._datePattern.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDatePattern(__datePattern);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("datePattern", this._datePattern);
        }
      }
                        
            if (this._dayStyleClass != null) {
        if (this._dayStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __dayStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dayStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDayStyleClass(__dayStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dayStyleClass", this._dayStyleClass);
        }
      }
                        
            if (this._defaultTime != null) {
        if (this._defaultTime.isLiteralText()) {
          try {
                       
            java.lang.Object __defaultTime = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultTime.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDefaultTime(__defaultTime);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultTime", this._defaultTime);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                        
            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._firstWeekDay != null) {
        if (this._firstWeekDay.isLiteralText()) {
          try {
                       
            Integer __firstWeekDay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._firstWeekDay.getExpressionString(),
                      Integer.class);
         
                        comp.setFirstWeekDay(__firstWeekDay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("firstWeekDay", this._firstWeekDay);
        }
      }
                        
            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._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._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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            if (this._isDayEnabled != null) {
        if (this._isDayEnabled.isLiteralText()) {
          try {
                       
            java.lang.String __isDayEnabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._isDayEnabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIsDayEnabled(__isDayEnabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("isDayEnabled", this._isDayEnabled);
        }
      }
                        
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._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._locale != null) {
        if (this._locale.isLiteralText()) {
          try {
                       
            java.lang.Object __locale = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._locale.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setLocale(__locale);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("locale", this._locale);
        }
      }
                        
            if (this._minDaysInFirstWeek != null) {
        if (this._minDaysInFirstWeek.isLiteralText()) {
          try {
                       
            Integer __minDaysInFirstWeek = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minDaysInFirstWeek.getExpressionString(),
                      Integer.class);
         
                        comp.setMinDaysInFirstWeek(__minDaysInFirstWeek.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minDaysInFirstWeek", this._minDaysInFirstWeek);
        }
      }
                        
            if (this._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                        
            if (this._monthLabels != null) {
        if (this._monthLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabels(__monthLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabels", this._monthLabels);
        }
      }
                        
            if (this._monthLabelsShort != null) {
        if (this._monthLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabelsShort(__monthLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabelsShort", this._monthLabelsShort);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._onchanged != null) {
        if (this._onchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchanged(__onchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchanged", this._onchanged);
        }
      }
                        
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncurrentdateselect != null) {
        if (this._oncurrentdateselect.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselect(__oncurrentdateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselect", this._oncurrentdateselect);
        }
      }
                        
            if (this._oncurrentdateselected != null) {
        if (this._oncurrentdateselected.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselected(__oncurrentdateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselected", this._oncurrentdateselected);
        }
      }
                        
            if (this._ondatemouseout != null) {
        if (this._ondatemouseout.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseout(__ondatemouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseout", this._ondatemouseout);
        }
      }
                        
            if (this._ondatemouseover != null) {
        if (this._ondatemouseover.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseover(__ondatemouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseover", this._ondatemouseover);
        }
      }
                        
            if (this._ondateselect != null) {
        if (this._ondateselect.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselect(__ondateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselect", this._ondateselect);
        }
      }
                        
            if (this._ondateselected != null) {
        if (this._ondateselected.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselected(__ondateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselected", this._ondateselected);
        }
      }
                        
            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._oninputblur != null) {
        if (this._oninputblur.isLiteralText()) {
          try {
                       
            java.lang.String __oninputblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputblur(__oninputblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputblur", this._oninputblur);
        }
      }
                        
            if (this._oninputchange != null) {
        if (this._oninputchange.isLiteralText()) {
          try {
                       
            java.lang.String __oninputchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputchange(__oninputchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputchange", this._oninputchange);
        }
      }
                        
            if (this._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputfocus != null) {
        if (this._oninputfocus.isLiteralText()) {
          try {
                       
            java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputfocus(__oninputfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputfocus", this._oninputfocus);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputselect != null) {
        if (this._oninputselect.isLiteralText()) {
          try {
                       
            java.lang.String __oninputselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputselect(__oninputselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputselect", this._oninputselect);
        }
      }
                        
            if (this._ontimeselect != null) {
        if (this._ontimeselect.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselect(__ontimeselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselect", this._ontimeselect);
        }
      }
                        
            if (this._ontimeselected != null) {
        if (this._ontimeselected.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselected(__ontimeselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselected", this._ontimeselected);
        }
      }
                        
            if (this._popup != null) {
        if (this._popup.isLiteralText()) {
          try {
                       
            Boolean __popup = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popup.getExpressionString(),
                      Boolean.class);
         
                        comp.setPopup(__popup.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popup", this._popup);
        }
      }
                          
            if (this._preloadDateRangeBegin != null) {
        if (this._preloadDateRangeBegin.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeBegin = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeBegin.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeBegin(__preloadDateRangeBegin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeBegin", this._preloadDateRangeBegin);
        }
      }
                        
            if (this._preloadDateRangeEnd != null) {
        if (this._preloadDateRangeEnd.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeEnd = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeEnd.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeEnd(__preloadDateRangeEnd);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeEnd", this._preloadDateRangeEnd);
        }
      }
                         
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                        
            if (this._resetTimeOnDateSelect != null) {
        if (this._resetTimeOnDateSelect.isLiteralText()) {
          try {
                       
            Boolean __resetTimeOnDateSelect = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resetTimeOnDateSelect.getExpressionString(),
                      Boolean.class);
         
                        comp.setResetTimeOnDateSelect(__resetTimeOnDateSelect.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resetTimeOnDateSelect", this._resetTimeOnDateSelect);
        }
      }
                        
            if (this._showApplyButton != null) {
        if (this._showApplyButton.isLiteralText()) {
          try {
                       
            Boolean __showApplyButton = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showApplyButton.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowApplyButton(__showApplyButton.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showApplyButton", this._showApplyButton);
        }
      }
                        
            if (this._showFooter != null) {
        if (this._showFooter.isLiteralText()) {
          try {
                       
            Boolean __showFooter = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showFooter.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowFooter(__showFooter.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showFooter", this._showFooter);
        }
      }
                        
            if (this._showHeader != null) {
        if (this._showHeader.isLiteralText()) {
          try {
                       
            Boolean __showHeader = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showHeader.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowHeader(__showHeader.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showHeader", this._showHeader);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showWeekDaysBar != null) {
        if (this._showWeekDaysBar.isLiteralText()) {
          try {
                       
            Boolean __showWeekDaysBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeekDaysBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeekDaysBar(__showWeekDaysBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeekDaysBar", this._showWeekDaysBar);
        }
      }
                        
            if (this._showWeeksBar != null) {
        if (this._showWeeksBar.isLiteralText()) {
          try {
                       
            Boolean __showWeeksBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeeksBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeeksBar(__showWeeksBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeeksBar", this._showWeeksBar);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                                   if(null != this._timeZone && this._timeZone.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property timeZone");
        }
      
            if (this._timeZone != null) {
        if (this._timeZone.isLiteralText()) {
          try {
                       
            java.util.TimeZone __timeZone = (java.util.TimeZone) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeZone.getExpressionString(),
                      java.util.TimeZone.class);
         
                        comp.setTimeZone(__timeZone);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeZone", this._timeZone);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._todayControlMode != null) {
        if (this._todayControlMode.isLiteralText()) {
          try {
                       
            java.lang.String __todayControlMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._todayControlMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTodayControlMode(__todayControlMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("todayControlMode", this._todayControlMode);
        }
      }
                        
            if (this._toolTipMode != null) {
        if (this._toolTipMode.isLiteralText()) {
          try {
                       
            java.lang.String __toolTipMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._toolTipMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setToolTipMode(__toolTipMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("toolTipMode", this._toolTipMode);
        }
      }
                         setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            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);
        }
      }
                        
            if (this._weekDayLabels != null) {
        if (this._weekDayLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabels(__weekDayLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabels", this._weekDayLabels);
        }
      }
                        
            if (this._weekDayLabelsShort != null) {
        if (this._weekDayLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabelsShort(__weekDayLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabelsShort", this._weekDayLabelsShort);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlCalendar

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlCalendar comp = (HtmlCalendar) component;
            
            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._boundaryDatesMode != null) {
        if (this._boundaryDatesMode.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryDatesMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryDatesMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryDatesMode(__boundaryDatesMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryDatesMode", this._boundaryDatesMode);
        }
      }
                        
            if (this._buttonClass != null) {
        if (this._buttonClass.isLiteralText()) {
          try {
                       
            java.lang.String __buttonClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonClass(__buttonClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonClass", this._buttonClass);
        }
      }
                        
            if (this._buttonIcon != null) {
        if (this._buttonIcon.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIcon(__buttonIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIcon", this._buttonIcon);
        }
      }
                        
            if (this._buttonIconDisabled != null) {
        if (this._buttonIconDisabled.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIconDisabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIconDisabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIconDisabled(__buttonIconDisabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIconDisabled", this._buttonIconDisabled);
        }
      }
                        
            if (this._buttonLabel != null) {
        if (this._buttonLabel.isLiteralText()) {
          try {
                       
            java.lang.String __buttonLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonLabel(__buttonLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonLabel", this._buttonLabel);
        }
      }
                        
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                         
            if (this._cellHeight != null) {
        if (this._cellHeight.isLiteralText()) {
          try {
                       
            java.lang.String __cellHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellHeight(__cellHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellHeight", this._cellHeight);
        }
      }
                        
            if (this._cellWidth != null) {
        if (this._cellWidth.isLiteralText()) {
          try {
                       
            java.lang.String __cellWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellWidth(__cellWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellWidth", this._cellWidth);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._currentDate != null) {
        if (this._currentDate.isLiteralText()) {
          try {
                       
            java.lang.Object __currentDate = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._currentDate.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCurrentDate(__currentDate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("currentDate", this._currentDate);
        }
      }
                        if(null != this._currentDateChangeListener){
        ((HtmlCalendar)component).setCurrentDateChangeListener(this._currentDateChangeListener);
      }   
                              if(null != this._dataModel && this._dataModel.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property dataModel");
        }
      
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            org.richfaces.model.CalendarDataModel __dataModel = (org.richfaces.model.CalendarDataModel) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      org.richfaces.model.CalendarDataModel.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                        
            if (this._datePattern != null) {
        if (this._datePattern.isLiteralText()) {
          try {
                       
            java.lang.String __datePattern = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._datePattern.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDatePattern(__datePattern);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("datePattern", this._datePattern);
        }
      }
                        
            if (this._dayStyleClass != null) {
        if (this._dayStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __dayStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dayStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDayStyleClass(__dayStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dayStyleClass", this._dayStyleClass);
        }
      }
                        
            if (this._defaultTime != null) {
        if (this._defaultTime.isLiteralText()) {
          try {
                       
            java.lang.Object __defaultTime = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultTime.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDefaultTime(__defaultTime);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultTime", this._defaultTime);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                        
            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._firstWeekDay != null) {
        if (this._firstWeekDay.isLiteralText()) {
          try {
                       
            Integer __firstWeekDay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._firstWeekDay.getExpressionString(),
                      Integer.class);
         
                        comp.setFirstWeekDay(__firstWeekDay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("firstWeekDay", this._firstWeekDay);
        }
      }
                        
            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._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._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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            if (this._isDayEnabled != null) {
        if (this._isDayEnabled.isLiteralText()) {
          try {
                       
            java.lang.String __isDayEnabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._isDayEnabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIsDayEnabled(__isDayEnabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("isDayEnabled", this._isDayEnabled);
        }
      }
                        
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._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._locale != null) {
        if (this._locale.isLiteralText()) {
          try {
                       
            java.lang.Object __locale = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._locale.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setLocale(__locale);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("locale", this._locale);
        }
      }
                        
            if (this._minDaysInFirstWeek != null) {
        if (this._minDaysInFirstWeek.isLiteralText()) {
          try {
                       
            Integer __minDaysInFirstWeek = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minDaysInFirstWeek.getExpressionString(),
                      Integer.class);
         
                        comp.setMinDaysInFirstWeek(__minDaysInFirstWeek.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minDaysInFirstWeek", this._minDaysInFirstWeek);
        }
      }
                        
            if (this._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                        
            if (this._monthLabels != null) {
        if (this._monthLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabels(__monthLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabels", this._monthLabels);
        }
      }
                        
            if (this._monthLabelsShort != null) {
        if (this._monthLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabelsShort(__monthLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabelsShort", this._monthLabelsShort);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._onchanged != null) {
        if (this._onchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchanged(__onchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchanged", this._onchanged);
        }
      }
                        
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncurrentdateselect != null) {
        if (this._oncurrentdateselect.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselect(__oncurrentdateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselect", this._oncurrentdateselect);
        }
      }
                        
            if (this._oncurrentdateselected != null) {
        if (this._oncurrentdateselected.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselected(__oncurrentdateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselected", this._oncurrentdateselected);
        }
      }
                        
            if (this._ondatemouseout != null) {
        if (this._ondatemouseout.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseout(__ondatemouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseout", this._ondatemouseout);
        }
      }
                        
            if (this._ondatemouseover != null) {
        if (this._ondatemouseover.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseover(__ondatemouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseover", this._ondatemouseover);
        }
      }
                        
            if (this._ondateselect != null) {
        if (this._ondateselect.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselect(__ondateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselect", this._ondateselect);
        }
      }
                        
            if (this._ondateselected != null) {
        if (this._ondateselected.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselected(__ondateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselected", this._ondateselected);
        }
      }
                        
            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._oninputblur != null) {
        if (this._oninputblur.isLiteralText()) {
          try {
                       
            java.lang.String __oninputblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputblur(__oninputblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputblur", this._oninputblur);
        }
      }
                        
            if (this._oninputchange != null) {
        if (this._oninputchange.isLiteralText()) {
          try {
                       
            java.lang.String __oninputchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputchange(__oninputchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputchange", this._oninputchange);
        }
      }
                        
            if (this._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputfocus != null) {
        if (this._oninputfocus.isLiteralText()) {
          try {
                       
            java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputfocus(__oninputfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputfocus", this._oninputfocus);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputselect != null) {
        if (this._oninputselect.isLiteralText()) {
          try {
                       
            java.lang.String __oninputselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputselect(__oninputselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputselect", this._oninputselect);
        }
      }
                        
            if (this._ontimeselect != null) {
        if (this._ontimeselect.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselect(__ontimeselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselect", this._ontimeselect);
        }
      }
                        
            if (this._ontimeselected != null) {
        if (this._ontimeselected.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselected(__ontimeselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselected", this._ontimeselected);
        }
      }
                        
            if (this._popup != null) {
        if (this._popup.isLiteralText()) {
          try {
                       
            Boolean __popup = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popup.getExpressionString(),
                      Boolean.class);
         
                        comp.setPopup(__popup.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popup", this._popup);
        }
      }
                          
            if (this._preloadDateRangeBegin != null) {
        if (this._preloadDateRangeBegin.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeBegin = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeBegin.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeBegin(__preloadDateRangeBegin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeBegin", this._preloadDateRangeBegin);
        }
      }
                        
            if (this._preloadDateRangeEnd != null) {
        if (this._preloadDateRangeEnd.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeEnd = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeEnd.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeEnd(__preloadDateRangeEnd);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeEnd", this._preloadDateRangeEnd);
        }
      }
                         
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._readonly != null) {
        if (this._readonly.isLiteralText()) {
          try {
                       
            Boolean __readonly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._readonly.getExpressionString(),
                      Boolean.class);
         
                        comp.setReadonly(__readonly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("readonly", this._readonly);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                        
            if (this._resetTimeOnDateSelect != null) {
        if (this._resetTimeOnDateSelect.isLiteralText()) {
          try {
                       
            Boolean __resetTimeOnDateSelect = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resetTimeOnDateSelect.getExpressionString(),
                      Boolean.class);
         
                        comp.setResetTimeOnDateSelect(__resetTimeOnDateSelect.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resetTimeOnDateSelect", this._resetTimeOnDateSelect);
        }
      }
                        
            if (this._showApplyButton != null) {
        if (this._showApplyButton.isLiteralText()) {
          try {
                       
            Boolean __showApplyButton = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showApplyButton.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowApplyButton(__showApplyButton.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showApplyButton", this._showApplyButton);
        }
      }
                        
            if (this._showFooter != null) {
        if (this._showFooter.isLiteralText()) {
          try {
                       
            Boolean __showFooter = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showFooter.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowFooter(__showFooter.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showFooter", this._showFooter);
        }
      }
                        
            if (this._showHeader != null) {
        if (this._showHeader.isLiteralText()) {
          try {
                       
            Boolean __showHeader = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showHeader.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowHeader(__showHeader.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showHeader", this._showHeader);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showWeekDaysBar != null) {
        if (this._showWeekDaysBar.isLiteralText()) {
          try {
                       
            Boolean __showWeekDaysBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeekDaysBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeekDaysBar(__showWeekDaysBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeekDaysBar", this._showWeekDaysBar);
        }
      }
                        
            if (this._showWeeksBar != null) {
        if (this._showWeeksBar.isLiteralText()) {
          try {
                       
            Boolean __showWeeksBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeeksBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeeksBar(__showWeeksBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeeksBar", this._showWeeksBar);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                          
            if (this._tabIndex != null) {
        if (this._tabIndex.isLiteralText()) {
          try {
                       
            java.lang.String __tabIndex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabIndex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabIndex(__tabIndex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabIndex", this._tabIndex);
        }
      }
                        
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                                 if(null != this._timeZone && this._timeZone.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property timeZone");
        }
      
            if (this._timeZone != null) {
        if (this._timeZone.isLiteralText()) {
          try {
                       
            java.util.TimeZone __timeZone = (java.util.TimeZone) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeZone.getExpressionString(),
                      java.util.TimeZone.class);
         
                        comp.setTimeZone(__timeZone);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeZone", this._timeZone);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._todayControlMode != null) {
        if (this._todayControlMode.isLiteralText()) {
          try {
                       
            java.lang.String __todayControlMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._todayControlMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTodayControlMode(__todayControlMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("todayControlMode", this._todayControlMode);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            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);
        }
      }
                        
            if (this._weekDayLabels != null) {
        if (this._weekDayLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabels(__weekDayLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabels", this._weekDayLabels);
        }
      }
                        
            if (this._weekDayLabelsShort != null) {
        if (this._weekDayLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabelsShort(__weekDayLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabelsShort", this._weekDayLabelsShort);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlCalendar

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlCalendar comp = (HtmlCalendar) component;
            
            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._boundaryDatesMode != null) {
        if (this._boundaryDatesMode.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryDatesMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryDatesMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryDatesMode(__boundaryDatesMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryDatesMode", this._boundaryDatesMode);
        }
      }
                        
            if (this._buttonClass != null) {
        if (this._buttonClass.isLiteralText()) {
          try {
                       
            java.lang.String __buttonClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonClass(__buttonClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonClass", this._buttonClass);
        }
      }
                        
            if (this._buttonIcon != null) {
        if (this._buttonIcon.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIcon(__buttonIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIcon", this._buttonIcon);
        }
      }
                        
            if (this._buttonIconDisabled != null) {
        if (this._buttonIconDisabled.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIconDisabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIconDisabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIconDisabled(__buttonIconDisabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIconDisabled", this._buttonIconDisabled);
        }
      }
                        
            if (this._buttonLabel != null) {
        if (this._buttonLabel.isLiteralText()) {
          try {
                       
            java.lang.String __buttonLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonLabel(__buttonLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonLabel", this._buttonLabel);
        }
      }
                        
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                         
            if (this._cellHeight != null) {
        if (this._cellHeight.isLiteralText()) {
          try {
                       
            java.lang.String __cellHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellHeight(__cellHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellHeight", this._cellHeight);
        }
      }
                        
            if (this._cellWidth != null) {
        if (this._cellWidth.isLiteralText()) {
          try {
                       
            java.lang.String __cellWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellWidth(__cellWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellWidth", this._cellWidth);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._currentDate != null) {
        if (this._currentDate.isLiteralText()) {
          try {
                       
            java.lang.Object __currentDate = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._currentDate.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCurrentDate(__currentDate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("currentDate", this._currentDate);
        }
      }
                        if(null != this._currentDateChangeListener){
        ((HtmlCalendar)component).setCurrentDateChangeListener(this._currentDateChangeListener);
      }   
                              if(null != this._dataModel && this._dataModel.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property dataModel");
        }
      
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            org.richfaces.model.CalendarDataModel __dataModel = (org.richfaces.model.CalendarDataModel) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      org.richfaces.model.CalendarDataModel.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                        
            if (this._datePattern != null) {
        if (this._datePattern.isLiteralText()) {
          try {
                       
            java.lang.String __datePattern = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._datePattern.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDatePattern(__datePattern);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("datePattern", this._datePattern);
        }
      }
                        
            if (this._dayStyleClass != null) {
        if (this._dayStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __dayStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dayStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDayStyleClass(__dayStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dayStyleClass", this._dayStyleClass);
        }
      }
                        
            if (this._defaultTime != null) {
        if (this._defaultTime.isLiteralText()) {
          try {
                       
            java.lang.Object __defaultTime = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultTime.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDefaultTime(__defaultTime);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultTime", this._defaultTime);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                        
            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._firstWeekDay != null) {
        if (this._firstWeekDay.isLiteralText()) {
          try {
                       
            Integer __firstWeekDay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._firstWeekDay.getExpressionString(),
                      Integer.class);
         
                        comp.setFirstWeekDay(__firstWeekDay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("firstWeekDay", this._firstWeekDay);
        }
      }
                        
            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._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._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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            if (this._isDayEnabled != null) {
        if (this._isDayEnabled.isLiteralText()) {
          try {
                       
            java.lang.String __isDayEnabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._isDayEnabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIsDayEnabled(__isDayEnabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("isDayEnabled", this._isDayEnabled);
        }
      }
                        
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._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._locale != null) {
        if (this._locale.isLiteralText()) {
          try {
                       
            java.lang.Object __locale = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._locale.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setLocale(__locale);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("locale", this._locale);
        }
      }
                        
            if (this._minDaysInFirstWeek != null) {
        if (this._minDaysInFirstWeek.isLiteralText()) {
          try {
                       
            Integer __minDaysInFirstWeek = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minDaysInFirstWeek.getExpressionString(),
                      Integer.class);
         
                        comp.setMinDaysInFirstWeek(__minDaysInFirstWeek.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minDaysInFirstWeek", this._minDaysInFirstWeek);
        }
      }
                        
            if (this._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                        
            if (this._monthLabels != null) {
        if (this._monthLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabels(__monthLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabels", this._monthLabels);
        }
      }
                        
            if (this._monthLabelsShort != null) {
        if (this._monthLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabelsShort(__monthLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabelsShort", this._monthLabelsShort);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._onchanged != null) {
        if (this._onchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchanged(__onchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchanged", this._onchanged);
        }
      }
                        
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncurrentdateselect != null) {
        if (this._oncurrentdateselect.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselect(__oncurrentdateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselect", this._oncurrentdateselect);
        }
      }
                        
            if (this._oncurrentdateselected != null) {
        if (this._oncurrentdateselected.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselected(__oncurrentdateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselected", this._oncurrentdateselected);
        }
      }
                        
            if (this._ondatemouseout != null) {
        if (this._ondatemouseout.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseout(__ondatemouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseout", this._ondatemouseout);
        }
      }
                        
            if (this._ondatemouseover != null) {
        if (this._ondatemouseover.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseover(__ondatemouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseover", this._ondatemouseover);
        }
      }
                        
            if (this._ondateselect != null) {
        if (this._ondateselect.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselect(__ondateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselect", this._ondateselect);
        }
      }
                        
            if (this._ondateselected != null) {
        if (this._ondateselected.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselected(__ondateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselected", this._ondateselected);
        }
      }
                        
            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._oninputblur != null) {
        if (this._oninputblur.isLiteralText()) {
          try {
                       
            java.lang.String __oninputblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputblur(__oninputblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputblur", this._oninputblur);
        }
      }
                        
            if (this._oninputchange != null) {
        if (this._oninputchange.isLiteralText()) {
          try {
                       
            java.lang.String __oninputchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputchange(__oninputchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputchange", this._oninputchange);
        }
      }
                        
            if (this._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputfocus != null) {
        if (this._oninputfocus.isLiteralText()) {
          try {
                       
            java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputfocus(__oninputfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputfocus", this._oninputfocus);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputselect != null) {
        if (this._oninputselect.isLiteralText()) {
          try {
                       
            java.lang.String __oninputselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputselect(__oninputselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputselect", this._oninputselect);
        }
      }
                        
            if (this._ontimeselect != null) {
        if (this._ontimeselect.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselect(__ontimeselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselect", this._ontimeselect);
        }
      }
                        
            if (this._ontimeselected != null) {
        if (this._ontimeselected.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselected(__ontimeselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselected", this._ontimeselected);
        }
      }
                        
            if (this._popup != null) {
        if (this._popup.isLiteralText()) {
          try {
                       
            Boolean __popup = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popup.getExpressionString(),
                      Boolean.class);
         
                        comp.setPopup(__popup.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popup", this._popup);
        }
      }
                          
            if (this._preloadDateRangeBegin != null) {
        if (this._preloadDateRangeBegin.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeBegin = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeBegin.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeBegin(__preloadDateRangeBegin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeBegin", this._preloadDateRangeBegin);
        }
      }
                        
            if (this._preloadDateRangeEnd != null) {
        if (this._preloadDateRangeEnd.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeEnd = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeEnd.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeEnd(__preloadDateRangeEnd);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeEnd", this._preloadDateRangeEnd);
        }
      }
                        
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._readonly != null) {
        if (this._readonly.isLiteralText()) {
          try {
                       
            Boolean __readonly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._readonly.getExpressionString(),
                      Boolean.class);
         
                        comp.setReadonly(__readonly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("readonly", this._readonly);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                        
            if (this._resetTimeOnDateSelect != null) {
        if (this._resetTimeOnDateSelect.isLiteralText()) {
          try {
                       
            Boolean __resetTimeOnDateSelect = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resetTimeOnDateSelect.getExpressionString(),
                      Boolean.class);
         
                        comp.setResetTimeOnDateSelect(__resetTimeOnDateSelect.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resetTimeOnDateSelect", this._resetTimeOnDateSelect);
        }
      }
                        
            if (this._showApplyButton != null) {
        if (this._showApplyButton.isLiteralText()) {
          try {
                       
            Boolean __showApplyButton = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showApplyButton.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowApplyButton(__showApplyButton.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showApplyButton", this._showApplyButton);
        }
      }
                        
            if (this._showFooter != null) {
        if (this._showFooter.isLiteralText()) {
          try {
                       
            Boolean __showFooter = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showFooter.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowFooter(__showFooter.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showFooter", this._showFooter);
        }
      }
                        
            if (this._showHeader != null) {
        if (this._showHeader.isLiteralText()) {
          try {
                       
            Boolean __showHeader = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showHeader.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowHeader(__showHeader.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showHeader", this._showHeader);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showWeekDaysBar != null) {
        if (this._showWeekDaysBar.isLiteralText()) {
          try {
                       
            Boolean __showWeekDaysBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeekDaysBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeekDaysBar(__showWeekDaysBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeekDaysBar", this._showWeekDaysBar);
        }
      }
                        
            if (this._showWeeksBar != null) {
        if (this._showWeeksBar.isLiteralText()) {
          try {
                       
            Boolean __showWeeksBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeeksBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeeksBar(__showWeeksBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeeksBar", this._showWeeksBar);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                          
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            java.lang.String __tabindex = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTabindex(__tabindex);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                                 if(null != this._timeZone && this._timeZone.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property timeZone");
        }
      
            if (this._timeZone != null) {
        if (this._timeZone.isLiteralText()) {
          try {
                       
            java.util.TimeZone __timeZone = (java.util.TimeZone) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeZone.getExpressionString(),
                      java.util.TimeZone.class);
         
                        comp.setTimeZone(__timeZone);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeZone", this._timeZone);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._todayControlMode != null) {
        if (this._todayControlMode.isLiteralText()) {
          try {
                       
            java.lang.String __todayControlMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._todayControlMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTodayControlMode(__todayControlMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("todayControlMode", this._todayControlMode);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            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);
        }
      }
                        
            if (this._weekDayLabels != null) {
        if (this._weekDayLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabels(__weekDayLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabels", this._weekDayLabels);
        }
      }
                        
            if (this._weekDayLabelsShort != null) {
        if (this._weekDayLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabelsShort(__weekDayLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabelsShort", this._weekDayLabelsShort);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here

Examples of org.richfaces.component.html.HtmlCalendar

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlCalendar comp = (HtmlCalendar) component;
            
            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._boundaryDatesMode != null) {
        if (this._boundaryDatesMode.isLiteralText()) {
          try {
                       
            java.lang.String __boundaryDatesMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._boundaryDatesMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setBoundaryDatesMode(__boundaryDatesMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("boundaryDatesMode", this._boundaryDatesMode);
        }
      }
                        
            if (this._buttonClass != null) {
        if (this._buttonClass.isLiteralText()) {
          try {
                       
            java.lang.String __buttonClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonClass(__buttonClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonClass", this._buttonClass);
        }
      }
                        
            if (this._buttonIcon != null) {
        if (this._buttonIcon.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIcon(__buttonIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIcon", this._buttonIcon);
        }
      }
                        
            if (this._buttonIconDisabled != null) {
        if (this._buttonIconDisabled.isLiteralText()) {
          try {
                       
            java.lang.String __buttonIconDisabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonIconDisabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonIconDisabled(__buttonIconDisabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonIconDisabled", this._buttonIconDisabled);
        }
      }
                        
            if (this._buttonLabel != null) {
        if (this._buttonLabel.isLiteralText()) {
          try {
                       
            java.lang.String __buttonLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._buttonLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setButtonLabel(__buttonLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("buttonLabel", this._buttonLabel);
        }
      }
                        
            if (this._bypassUpdates != null) {
        if (this._bypassUpdates.isLiteralText()) {
          try {
                       
            Boolean __bypassUpdates = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._bypassUpdates.getExpressionString(),
                      Boolean.class);
         
                        comp.setBypassUpdates(__bypassUpdates.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("bypassUpdates", this._bypassUpdates);
        }
      }
                         
            if (this._cellHeight != null) {
        if (this._cellHeight.isLiteralText()) {
          try {
                       
            java.lang.String __cellHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellHeight(__cellHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellHeight", this._cellHeight);
        }
      }
                        
            if (this._cellWidth != null) {
        if (this._cellWidth.isLiteralText()) {
          try {
                       
            java.lang.String __cellWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cellWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCellWidth(__cellWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cellWidth", this._cellWidth);
        }
      }
                        setConverterProperty(comp, this._converter);
                  
            if (this._converterMessage != null) {
        if (this._converterMessage.isLiteralText()) {
          try {
                       
            java.lang.String __converterMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._converterMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConverterMessage(__converterMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("converterMessage", this._converterMessage);
        }
      }
                        
            if (this._currentDate != null) {
        if (this._currentDate.isLiteralText()) {
          try {
                       
            java.lang.Object __currentDate = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._currentDate.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setCurrentDate(__currentDate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("currentDate", this._currentDate);
        }
      }
                        if(null != this._currentDateChangeListener){
        ((HtmlCalendar)component).setCurrentDateChangeListener(this._currentDateChangeListener);
      }   
                              if(null != this._dataModel && this._dataModel.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property dataModel");
        }
      
            if (this._dataModel != null) {
        if (this._dataModel.isLiteralText()) {
          try {
                       
            org.richfaces.model.CalendarDataModel __dataModel = (org.richfaces.model.CalendarDataModel) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dataModel.getExpressionString(),
                      org.richfaces.model.CalendarDataModel.class);
         
                        comp.setDataModel(__dataModel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dataModel", this._dataModel);
        }
      }
                        
            if (this._datePattern != null) {
        if (this._datePattern.isLiteralText()) {
          try {
                       
            java.lang.String __datePattern = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._datePattern.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDatePattern(__datePattern);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("datePattern", this._datePattern);
        }
      }
                        
            if (this._dayStyleClass != null) {
        if (this._dayStyleClass.isLiteralText()) {
          try {
                       
            java.lang.String __dayStyleClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dayStyleClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDayStyleClass(__dayStyleClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dayStyleClass", this._dayStyleClass);
        }
      }
                        
            if (this._defaultTime != null) {
        if (this._defaultTime.isLiteralText()) {
          try {
                       
            java.lang.Object __defaultTime = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultTime.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setDefaultTime(__defaultTime);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultTime", this._defaultTime);
        }
      }
                        
            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._enableManualInput != null) {
        if (this._enableManualInput.isLiteralText()) {
          try {
                       
            Boolean __enableManualInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._enableManualInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setEnableManualInput(__enableManualInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("enableManualInput", this._enableManualInput);
        }
      }
                        
            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._firstWeekDay != null) {
        if (this._firstWeekDay.isLiteralText()) {
          try {
                       
            Integer __firstWeekDay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._firstWeekDay.getExpressionString(),
                      Integer.class);
         
                        comp.setFirstWeekDay(__firstWeekDay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("firstWeekDay", this._firstWeekDay);
        }
      }
                        
            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._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._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._inputClass != null) {
        if (this._inputClass.isLiteralText()) {
          try {
                       
            java.lang.String __inputClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputClass(__inputClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputClass", this._inputClass);
        }
      }
                        
            if (this._inputSize != null) {
        if (this._inputSize.isLiteralText()) {
          try {
                       
            Integer __inputSize = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputSize.getExpressionString(),
                      Integer.class);
         
                        comp.setInputSize(__inputSize.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputSize", this._inputSize);
        }
      }
                        
            if (this._inputStyle != null) {
        if (this._inputStyle.isLiteralText()) {
          try {
                       
            java.lang.String __inputStyle = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputStyle.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputStyle(__inputStyle);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputStyle", this._inputStyle);
        }
      }
                        
            if (this._isDayEnabled != null) {
        if (this._isDayEnabled.isLiteralText()) {
          try {
                       
            java.lang.String __isDayEnabled = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._isDayEnabled.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setIsDayEnabled(__isDayEnabled);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("isDayEnabled", this._isDayEnabled);
        }
      }
                        
            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._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._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._locale != null) {
        if (this._locale.isLiteralText()) {
          try {
                       
            java.lang.Object __locale = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._locale.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setLocale(__locale);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("locale", this._locale);
        }
      }
                        
            if (this._minDaysInFirstWeek != null) {
        if (this._minDaysInFirstWeek.isLiteralText()) {
          try {
                       
            Integer __minDaysInFirstWeek = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minDaysInFirstWeek.getExpressionString(),
                      Integer.class);
         
                        comp.setMinDaysInFirstWeek(__minDaysInFirstWeek.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minDaysInFirstWeek", this._minDaysInFirstWeek);
        }
      }
                        
            if (this._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                        
            if (this._monthLabels != null) {
        if (this._monthLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabels(__monthLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabels", this._monthLabels);
        }
      }
                        
            if (this._monthLabelsShort != null) {
        if (this._monthLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __monthLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._monthLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setMonthLabelsShort(__monthLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("monthLabelsShort", this._monthLabelsShort);
        }
      }
                        
            if (this._onbeforedomupdate != null) {
        if (this._onbeforedomupdate.isLiteralText()) {
          try {
                       
            java.lang.String __onbeforedomupdate = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onbeforedomupdate.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnbeforedomupdate(__onbeforedomupdate);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onbeforedomupdate", this._onbeforedomupdate);
        }
      }
                        
            if (this._onchanged != null) {
        if (this._onchanged.isLiteralText()) {
          try {
                       
            java.lang.String __onchanged = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchanged.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchanged(__onchanged);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchanged", this._onchanged);
        }
      }
                        
            if (this._oncollapse != null) {
        if (this._oncollapse.isLiteralText()) {
          try {
                       
            java.lang.String __oncollapse = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncollapse.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncollapse(__oncollapse);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncollapse", this._oncollapse);
        }
      }
                        
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                        
            if (this._oncurrentdateselect != null) {
        if (this._oncurrentdateselect.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselect(__oncurrentdateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselect", this._oncurrentdateselect);
        }
      }
                        
            if (this._oncurrentdateselected != null) {
        if (this._oncurrentdateselected.isLiteralText()) {
          try {
                       
            java.lang.String __oncurrentdateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncurrentdateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncurrentdateselected(__oncurrentdateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncurrentdateselected", this._oncurrentdateselected);
        }
      }
                        
            if (this._ondatemouseout != null) {
        if (this._ondatemouseout.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseout(__ondatemouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseout", this._ondatemouseout);
        }
      }
                        
            if (this._ondatemouseover != null) {
        if (this._ondatemouseover.isLiteralText()) {
          try {
                       
            java.lang.String __ondatemouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondatemouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndatemouseover(__ondatemouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondatemouseover", this._ondatemouseover);
        }
      }
                        
            if (this._ondateselect != null) {
        if (this._ondateselect.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselect(__ondateselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselect", this._ondateselect);
        }
      }
                        
            if (this._ondateselected != null) {
        if (this._ondateselected.isLiteralText()) {
          try {
                       
            java.lang.String __ondateselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ondateselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOndateselected(__ondateselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ondateselected", this._ondateselected);
        }
      }
                        
            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._oninputblur != null) {
        if (this._oninputblur.isLiteralText()) {
          try {
                       
            java.lang.String __oninputblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputblur(__oninputblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputblur", this._oninputblur);
        }
      }
                        
            if (this._oninputchange != null) {
        if (this._oninputchange.isLiteralText()) {
          try {
                       
            java.lang.String __oninputchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputchange(__oninputchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputchange", this._oninputchange);
        }
      }
                        
            if (this._oninputclick != null) {
        if (this._oninputclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputclick(__oninputclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputclick", this._oninputclick);
        }
      }
                        
            if (this._oninputfocus != null) {
        if (this._oninputfocus.isLiteralText()) {
          try {
                       
            java.lang.String __oninputfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputfocus(__oninputfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputfocus", this._oninputfocus);
        }
      }
                        
            if (this._oninputkeydown != null) {
        if (this._oninputkeydown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeydown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeydown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeydown(__oninputkeydown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeydown", this._oninputkeydown);
        }
      }
                        
            if (this._oninputkeypress != null) {
        if (this._oninputkeypress.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeypress = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeypress.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeypress(__oninputkeypress);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeypress", this._oninputkeypress);
        }
      }
                        
            if (this._oninputkeyup != null) {
        if (this._oninputkeyup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputkeyup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputkeyup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputkeyup(__oninputkeyup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputkeyup", this._oninputkeyup);
        }
      }
                        
            if (this._oninputmouseout != null) {
        if (this._oninputmouseout.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseout(__oninputmouseout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseout", this._oninputmouseout);
        }
      }
                        
            if (this._oninputmouseover != null) {
        if (this._oninputmouseover.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseover = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseover.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseover(__oninputmouseover);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseover", this._oninputmouseover);
        }
      }
                        
            if (this._oninputselect != null) {
        if (this._oninputselect.isLiteralText()) {
          try {
                       
            java.lang.String __oninputselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputselect(__oninputselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputselect", this._oninputselect);
        }
      }
                        
            if (this._ontimeselect != null) {
        if (this._ontimeselect.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselect(__ontimeselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselect", this._ontimeselect);
        }
      }
                        
            if (this._ontimeselected != null) {
        if (this._ontimeselected.isLiteralText()) {
          try {
                       
            java.lang.String __ontimeselected = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ontimeselected.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOntimeselected(__ontimeselected);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ontimeselected", this._ontimeselected);
        }
      }
                        
            if (this._popup != null) {
        if (this._popup.isLiteralText()) {
          try {
                       
            Boolean __popup = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._popup.getExpressionString(),
                      Boolean.class);
         
                        comp.setPopup(__popup.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("popup", this._popup);
        }
      }
                          
            if (this._preloadDateRangeBegin != null) {
        if (this._preloadDateRangeBegin.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeBegin = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeBegin.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeBegin(__preloadDateRangeBegin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeBegin", this._preloadDateRangeBegin);
        }
      }
                        
            if (this._preloadDateRangeEnd != null) {
        if (this._preloadDateRangeEnd.isLiteralText()) {
          try {
                       
            java.lang.Object __preloadDateRangeEnd = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._preloadDateRangeEnd.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setPreloadDateRangeEnd(__preloadDateRangeEnd);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("preloadDateRangeEnd", this._preloadDateRangeEnd);
        }
      }
                         
            if (this._process != null) {
        if (this._process.isLiteralText()) {
          try {
                       
            java.lang.Object __process = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._process.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setProcess(__process);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("process", this._process);
        }
      }
                        
            if (this._reRender != null) {
        if (this._reRender.isLiteralText()) {
          try {
                       
            java.lang.Object __reRender = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._reRender.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setReRender(__reRender);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("reRender", this._reRender);
        }
      }
                        
            if (this._readonly != null) {
        if (this._readonly.isLiteralText()) {
          try {
                       
            Boolean __readonly = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._readonly.getExpressionString(),
                      Boolean.class);
         
                        comp.setReadonly(__readonly.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("readonly", this._readonly);
        }
      }
                         
            if (this._requestDelay != null) {
        if (this._requestDelay.isLiteralText()) {
          try {
                       
            Integer __requestDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requestDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setRequestDelay(__requestDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requestDelay", this._requestDelay);
        }
      }
                        
            if (this._required != null) {
        if (this._required.isLiteralText()) {
          try {
                       
            Boolean __required = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._required.getExpressionString(),
                      Boolean.class);
         
                        comp.setRequired(__required.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("required", this._required);
        }
      }
                        
            if (this._requiredMessage != null) {
        if (this._requiredMessage.isLiteralText()) {
          try {
                       
            java.lang.String __requiredMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._requiredMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setRequiredMessage(__requiredMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("requiredMessage", this._requiredMessage);
        }
      }
                        
            if (this._resetTimeOnDateSelect != null) {
        if (this._resetTimeOnDateSelect.isLiteralText()) {
          try {
                       
            Boolean __resetTimeOnDateSelect = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._resetTimeOnDateSelect.getExpressionString(),
                      Boolean.class);
         
                        comp.setResetTimeOnDateSelect(__resetTimeOnDateSelect.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("resetTimeOnDateSelect", this._resetTimeOnDateSelect);
        }
      }
                        
            if (this._showApplyButton != null) {
        if (this._showApplyButton.isLiteralText()) {
          try {
                       
            Boolean __showApplyButton = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showApplyButton.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowApplyButton(__showApplyButton.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showApplyButton", this._showApplyButton);
        }
      }
                        
            if (this._showFooter != null) {
        if (this._showFooter.isLiteralText()) {
          try {
                       
            Boolean __showFooter = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showFooter.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowFooter(__showFooter.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showFooter", this._showFooter);
        }
      }
                        
            if (this._showHeader != null) {
        if (this._showHeader.isLiteralText()) {
          try {
                       
            Boolean __showHeader = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showHeader.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowHeader(__showHeader.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showHeader", this._showHeader);
        }
      }
                        
            if (this._showInput != null) {
        if (this._showInput.isLiteralText()) {
          try {
                       
            Boolean __showInput = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showInput.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowInput(__showInput.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showInput", this._showInput);
        }
      }
                        
            if (this._showWeekDaysBar != null) {
        if (this._showWeekDaysBar.isLiteralText()) {
          try {
                       
            Boolean __showWeekDaysBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeekDaysBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeekDaysBar(__showWeekDaysBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeekDaysBar", this._showWeekDaysBar);
        }
      }
                        
            if (this._showWeeksBar != null) {
        if (this._showWeeksBar.isLiteralText()) {
          try {
                       
            Boolean __showWeeksBar = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showWeeksBar.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowWeeksBar(__showWeeksBar.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showWeeksBar", this._showWeeksBar);
        }
      }
                        
            if (this._similarityGroupingId != null) {
        if (this._similarityGroupingId.isLiteralText()) {
          try {
                       
            java.lang.String __similarityGroupingId = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._similarityGroupingId.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSimilarityGroupingId(__similarityGroupingId);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("similarityGroupingId", this._similarityGroupingId);
        }
      }
                        
            if (this._status != null) {
        if (this._status.isLiteralText()) {
          try {
                       
            java.lang.String __status = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._status.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setStatus(__status);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("status", this._status);
        }
      }
                                   if(null != this._timeZone && this._timeZone.isLiteralText()){
          throw new IllegalArgumentException("Component org.richfaces.Calendar with Id " + component.getClientId(getFacesContext()) +" allows only EL expressions for property timeZone");
        }
      
            if (this._timeZone != null) {
        if (this._timeZone.isLiteralText()) {
          try {
                       
            java.util.TimeZone __timeZone = (java.util.TimeZone) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeZone.getExpressionString(),
                      java.util.TimeZone.class);
         
                        comp.setTimeZone(__timeZone);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeZone", this._timeZone);
        }
      }
                        
            if (this._timeout != null) {
        if (this._timeout.isLiteralText()) {
          try {
                       
            Integer __timeout = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._timeout.getExpressionString(),
                      Integer.class);
         
                        comp.setTimeout(__timeout.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("timeout", this._timeout);
        }
      }
                        
            if (this._todayControlMode != null) {
        if (this._todayControlMode.isLiteralText()) {
          try {
                       
            java.lang.String __todayControlMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._todayControlMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTodayControlMode(__todayControlMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("todayControlMode", this._todayControlMode);
        }
      }
                          setValidatorProperty(comp, this._validator);
                  
            if (this._validatorMessage != null) {
        if (this._validatorMessage.isLiteralText()) {
          try {
                       
            java.lang.String __validatorMessage = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._validatorMessage.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setValidatorMessage(__validatorMessage);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("validatorMessage", this._validatorMessage);
        }
      }
                         
            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);
        }
      }
                        setValueChangeListenerProperty(comp, this._valueChangeListener);
                   
            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);
        }
      }
                        
            if (this._weekDayLabels != null) {
        if (this._weekDayLabels.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabels = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabels.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabels(__weekDayLabels);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabels", this._weekDayLabels);
        }
      }
                        
            if (this._weekDayLabelsShort != null) {
        if (this._weekDayLabelsShort.isLiteralText()) {
          try {
                       
            java.lang.Object __weekDayLabelsShort = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._weekDayLabelsShort.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setWeekDayLabelsShort(__weekDayLabelsShort);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("weekDayLabelsShort", this._weekDayLabelsShort);
        }
      }
                        
            if (this._zindex != null) {
        if (this._zindex.isLiteralText()) {
          try {
                       
            Integer __zindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zindex.getExpressionString(),
                      Integer.class);
         
                        comp.setZindex(__zindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zindex", this._zindex);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.