Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlEditor


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEditor comp = (HtmlEditor) component;
            
            if (this._autoResize != null) {
        if (this._autoResize.isLiteralText()) {
          try {
                       
            Boolean __autoResize = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autoResize.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutoResize(__autoResize.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autoResize", this._autoResize);
        }
      }
                         
            if (this._configuration != null) {
        if (this._configuration.isLiteralText()) {
          try {
                       
            java.lang.String __configuration = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._configuration.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConfiguration(__configuration);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("configuration", this._configuration);
        }
      }
                        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._customPlugins != null) {
        if (this._customPlugins.isLiteralText()) {
          try {
                       
            java.lang.String __customPlugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._customPlugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCustomPlugins(__customPlugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("customPlugins", this._customPlugins);
        }
      }
                        
            if (this._dialogType != null) {
        if (this._dialogType.isLiteralText()) {
          try {
                       
            java.lang.String __dialogType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dialogType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDialogType(__dialogType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dialogType", this._dialogType);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.Integer __height = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._language != null) {
        if (this._language.isLiteralText()) {
          try {
                       
            java.lang.String __language = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._language.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLanguage(__language);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("language", this._language);
        }
      }
                          
            if (this._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                        
            if (this._oninit != null) {
        if (this._oninit.isLiteralText()) {
          try {
                       
            java.lang.String __oninit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninit(__oninit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninit", this._oninit);
        }
      }
                        
            if (this._onsave != null) {
        if (this._onsave.isLiteralText()) {
          try {
                       
            java.lang.String __onsave = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsave.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsave(__onsave);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsave", this._onsave);
        }
      }
                        
            if (this._onsetup != null) {
        if (this._onsetup.isLiteralText()) {
          try {
                       
            java.lang.String __onsetup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsetup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsetup(__onsetup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsetup", this._onsetup);
        }
      }
                        
            if (this._plugins != null) {
        if (this._plugins.isLiteralText()) {
          try {
                       
            java.lang.String __plugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._plugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPlugins(__plugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("plugins", this._plugins);
        }
      }
                        
            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._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._skin != null) {
        if (this._skin.isLiteralText()) {
          try {
                       
            java.lang.String __skin = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._skin.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSkin(__skin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("skin", this._skin);
        }
      }
                          
            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._theme != null) {
        if (this._theme.isLiteralText()) {
          try {
                       
            java.lang.String __theme = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._theme.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTheme(__theme);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("theme", this._theme);
        }
      }
                         
            if (this._useSeamText != null) {
        if (this._useSeamText.isLiteralText()) {
          try {
                       
            Boolean __useSeamText = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._useSeamText.getExpressionString(),
                      Boolean.class);
         
                        comp.setUseSeamText(__useSeamText.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("useSeamText", this._useSeamText);
        }
      }
                         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._viewMode != null) {
        if (this._viewMode.isLiteralText()) {
          try {
                       
            java.lang.String __viewMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewMode(__viewMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewMode", this._viewMode);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.Integer __width = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEditor comp = (HtmlEditor) component;
            
            if (this._autoResize != null) {
        if (this._autoResize.isLiteralText()) {
          try {
                       
            Boolean __autoResize = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autoResize.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutoResize(__autoResize.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autoResize", this._autoResize);
        }
      }
                         
            if (this._configuration != null) {
        if (this._configuration.isLiteralText()) {
          try {
                       
            java.lang.String __configuration = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._configuration.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConfiguration(__configuration);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("configuration", this._configuration);
        }
      }
                        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._customPlugins != null) {
        if (this._customPlugins.isLiteralText()) {
          try {
                       
            java.lang.String __customPlugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._customPlugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCustomPlugins(__customPlugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("customPlugins", this._customPlugins);
        }
      }
                        
            if (this._dialogType != null) {
        if (this._dialogType.isLiteralText()) {
          try {
                       
            java.lang.String __dialogType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dialogType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDialogType(__dialogType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dialogType", this._dialogType);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.Integer __height = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._language != null) {
        if (this._language.isLiteralText()) {
          try {
                       
            java.lang.String __language = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._language.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLanguage(__language);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("language", this._language);
        }
      }
                          
            if (this._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                        
            if (this._oninit != null) {
        if (this._oninit.isLiteralText()) {
          try {
                       
            java.lang.String __oninit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninit(__oninit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninit", this._oninit);
        }
      }
                        
            if (this._onsave != null) {
        if (this._onsave.isLiteralText()) {
          try {
                       
            java.lang.String __onsave = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsave.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsave(__onsave);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsave", this._onsave);
        }
      }
                        
            if (this._onsetup != null) {
        if (this._onsetup.isLiteralText()) {
          try {
                       
            java.lang.String __onsetup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsetup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsetup(__onsetup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsetup", this._onsetup);
        }
      }
                        
            if (this._plugins != null) {
        if (this._plugins.isLiteralText()) {
          try {
                       
            java.lang.String __plugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._plugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPlugins(__plugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("plugins", this._plugins);
        }
      }
                        
            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._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._skin != null) {
        if (this._skin.isLiteralText()) {
          try {
                       
            java.lang.String __skin = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._skin.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSkin(__skin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("skin", this._skin);
        }
      }
                          
            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._theme != null) {
        if (this._theme.isLiteralText()) {
          try {
                       
            java.lang.String __theme = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._theme.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTheme(__theme);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("theme", this._theme);
        }
      }
                         
            if (this._useSeamText != null) {
        if (this._useSeamText.isLiteralText()) {
          try {
                       
            Boolean __useSeamText = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._useSeamText.getExpressionString(),
                      Boolean.class);
         
                        comp.setUseSeamText(__useSeamText.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("useSeamText", this._useSeamText);
        }
      }
                         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._viewMode != null) {
        if (this._viewMode.isLiteralText()) {
          try {
                       
            java.lang.String __viewMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewMode(__viewMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewMode", this._viewMode);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.Integer __width = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

  /**
   * Test method for {@link org.richfaces.taglib.PanelTag#setProperties(javax.faces.component.UIComponent)}.
   * @throws JspException
   */
  public void testSetPropertiesUIComponent() throws JspException {
    HtmlEditor editor = new HtmlEditor();
    // other test here
  }
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEditor comp = (HtmlEditor) component;
            
            if (this._autoResize != null) {
        if (this._autoResize.isLiteralText()) {
          try {
                       
            Boolean __autoResize = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autoResize.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutoResize(__autoResize.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autoResize", this._autoResize);
        }
      }
                         
            if (this._configuration != null) {
        if (this._configuration.isLiteralText()) {
          try {
                       
            java.lang.String __configuration = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._configuration.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConfiguration(__configuration);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("configuration", this._configuration);
        }
      }
                        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._customPlugins != null) {
        if (this._customPlugins.isLiteralText()) {
          try {
                       
            java.lang.String __customPlugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._customPlugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCustomPlugins(__customPlugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("customPlugins", this._customPlugins);
        }
      }
                        
            if (this._dialogType != null) {
        if (this._dialogType.isLiteralText()) {
          try {
                       
            java.lang.String __dialogType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dialogType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDialogType(__dialogType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dialogType", this._dialogType);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.Integer __height = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            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._inputElementType != null) {
        if (this._inputElementType.isLiteralText()) {
          try {
                       
            java.lang.String __inputElementType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._inputElementType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setInputElementType(__inputElementType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("inputElementType", this._inputElementType);
        }
      }
                        
            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._language != null) {
        if (this._language.isLiteralText()) {
          try {
                       
            java.lang.String __language = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._language.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLanguage(__language);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("language", this._language);
        }
      }
                          
            if (this._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                        
            if (this._oninit != null) {
        if (this._oninit.isLiteralText()) {
          try {
                       
            java.lang.String __oninit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninit(__oninit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninit", this._oninit);
        }
      }
                        
            if (this._onsave != null) {
        if (this._onsave.isLiteralText()) {
          try {
                       
            java.lang.String __onsave = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsave.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsave(__onsave);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsave", this._onsave);
        }
      }
                        
            if (this._onsetup != null) {
        if (this._onsetup.isLiteralText()) {
          try {
                       
            java.lang.String __onsetup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsetup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsetup(__onsetup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsetup", this._onsetup);
        }
      }
                        
            if (this._plugins != null) {
        if (this._plugins.isLiteralText()) {
          try {
                       
            java.lang.String __plugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._plugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPlugins(__plugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("plugins", this._plugins);
        }
      }
                        
            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._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._skin != null) {
        if (this._skin.isLiteralText()) {
          try {
                       
            java.lang.String __skin = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._skin.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSkin(__skin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("skin", this._skin);
        }
      }
                          
            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._theme != null) {
        if (this._theme.isLiteralText()) {
          try {
                       
            java.lang.String __theme = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._theme.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTheme(__theme);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("theme", this._theme);
        }
      }
                         
            if (this._useSeamText != null) {
        if (this._useSeamText.isLiteralText()) {
          try {
                       
            Boolean __useSeamText = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._useSeamText.getExpressionString(),
                      Boolean.class);
         
                        comp.setUseSeamText(__useSeamText.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("useSeamText", this._useSeamText);
        }
      }
                         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._viewMode != null) {
        if (this._viewMode.isLiteralText()) {
          try {
                       
            java.lang.String __viewMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewMode(__viewMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewMode", this._viewMode);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.Integer __width = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlEditor comp = (HtmlEditor) component;
            
            if (this._autoResize != null) {
        if (this._autoResize.isLiteralText()) {
          try {
                       
            Boolean __autoResize = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._autoResize.getExpressionString(),
                      Boolean.class);
         
                        comp.setAutoResize(__autoResize.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("autoResize", this._autoResize);
        }
      }
                         
            if (this._configuration != null) {
        if (this._configuration.isLiteralText()) {
          try {
                       
            java.lang.String __configuration = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._configuration.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setConfiguration(__configuration);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("configuration", this._configuration);
        }
      }
                        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._customPlugins != null) {
        if (this._customPlugins.isLiteralText()) {
          try {
                       
            java.lang.String __customPlugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._customPlugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCustomPlugins(__customPlugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("customPlugins", this._customPlugins);
        }
      }
                        
            if (this._dialogType != null) {
        if (this._dialogType.isLiteralText()) {
          try {
                       
            java.lang.String __dialogType = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._dialogType.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDialogType(__dialogType);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("dialogType", this._dialogType);
        }
      }
                         
            if (this._height != null) {
        if (this._height.isLiteralText()) {
          try {
                       
            java.lang.Integer __height = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._height.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setHeight(__height);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("height", this._height);
        }
      }
                         
            if (this._immediate != null) {
        if (this._immediate.isLiteralText()) {
          try {
                       
            Boolean __immediate = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._immediate.getExpressionString(),
                      Boolean.class);
         
                        comp.setImmediate(__immediate.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("immediate", this._immediate);
        }
      }
                        
            if (this._label != null) {
        if (this._label.isLiteralText()) {
          try {
                       
            java.lang.String __label = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._label.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLabel(__label);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("label", this._label);
        }
      }
                        
            if (this._language != null) {
        if (this._language.isLiteralText()) {
          try {
                       
            java.lang.String __language = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._language.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLanguage(__language);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("language", this._language);
        }
      }
                          
            if (this._onchange != null) {
        if (this._onchange.isLiteralText()) {
          try {
                       
            java.lang.String __onchange = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onchange.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnchange(__onchange);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onchange", this._onchange);
        }
      }
                        
            if (this._oninit != null) {
        if (this._oninit.isLiteralText()) {
          try {
                       
            java.lang.String __oninit = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninit.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninit(__oninit);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninit", this._oninit);
        }
      }
                        
            if (this._onsave != null) {
        if (this._onsave.isLiteralText()) {
          try {
                       
            java.lang.String __onsave = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsave.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsave(__onsave);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsave", this._onsave);
        }
      }
                        
            if (this._onsetup != null) {
        if (this._onsetup.isLiteralText()) {
          try {
                       
            java.lang.String __onsetup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onsetup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnsetup(__onsetup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onsetup", this._onsetup);
        }
      }
                        
            if (this._plugins != null) {
        if (this._plugins.isLiteralText()) {
          try {
                       
            java.lang.String __plugins = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._plugins.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setPlugins(__plugins);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("plugins", this._plugins);
        }
      }
                        
            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._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._skin != null) {
        if (this._skin.isLiteralText()) {
          try {
                       
            java.lang.String __skin = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._skin.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSkin(__skin);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("skin", this._skin);
        }
      }
                          
            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._theme != null) {
        if (this._theme.isLiteralText()) {
          try {
                       
            java.lang.String __theme = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._theme.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setTheme(__theme);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("theme", this._theme);
        }
      }
                         
            if (this._useSeamText != null) {
        if (this._useSeamText.isLiteralText()) {
          try {
                       
            Boolean __useSeamText = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._useSeamText.getExpressionString(),
                      Boolean.class);
         
                        comp.setUseSeamText(__useSeamText.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("useSeamText", this._useSeamText);
        }
      }
                         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._viewMode != null) {
        if (this._viewMode.isLiteralText()) {
          try {
                       
            java.lang.String __viewMode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewMode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewMode(__viewMode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewMode", this._viewMode);
        }
      }
                        
            if (this._width != null) {
        if (this._width.isLiteralText()) {
          try {
                       
            java.lang.Integer __width = (java.lang.Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._width.getExpressionString(),
                      java.lang.Integer.class);
         
                        comp.setWidth(__width);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("width", this._width);
View Full Code Here

TOP

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

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.