Examples of HtmlInplaceSelect


Examples of org.richfaces.component.html.HtmlInplaceSelect

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
             
            if (this._cancelControlIcon != null) {
        if (this._cancelControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cancelControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCancelControlIcon(__cancelControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
        }
      }
                        
            if (this._changedClass != null) {
        if (this._changedClass.isLiteralText()) {
          try {
                       
            java.lang.String __changedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._changedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setChangedClass(__changedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("changedClass", this._changedClass);
        }
      }
                        
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        
            if (this._controlHoverClass != null) {
        if (this._controlHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlHoverClass(__controlHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlHoverClass", this._controlHoverClass);
        }
      }
                        
            if (this._controlPressClass != null) {
        if (this._controlPressClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlPressClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlPressClass(__controlPressClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlPressClass", this._controlPressClass);
        }
      }
                        
            if (this._controlsHorizontalPosition != null) {
        if (this._controlsHorizontalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsHorizontalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
        }
      }
                        
            if (this._controlsVerticalPosition != null) {
        if (this._controlsVerticalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalPosition(__controlsVerticalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
        }
      }
                        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._defaultLabel != null) {
        if (this._defaultLabel.isLiteralText()) {
          try {
                       
            java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDefaultLabel(__defaultLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultLabel", this._defaultLabel);
        }
      }
                        
            if (this._editClass != null) {
        if (this._editClass.isLiteralText()) {
          try {
                       
            java.lang.String __editClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditClass(__editClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editClass", this._editClass);
        }
      }
                        
            if (this._editEvent != null) {
        if (this._editEvent.isLiteralText()) {
          try {
                       
            java.lang.String __editEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditEvent(__editEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editEvent", this._editEvent);
        }
      }
                           
            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._layout != null) {
        if (this._layout.isLiteralText()) {
          try {
                       
            java.lang.String __layout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._layout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLayout(__layout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("layout", this._layout);
        }
      }
                        
            if (this._listHeight != null) {
        if (this._listHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListHeight(__listHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listHeight", this._listHeight);
        }
      }
                        
            if (this._listWidth != null) {
        if (this._listWidth.isLiteralText()) {
          try {
                       
            java.lang.String __listWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListWidth(__listWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listWidth", this._listWidth);
        }
      }
                          
            if (this._maxSelectWidth != null) {
        if (this._maxSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxSelectWidth(__maxSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
        }
      }
                        
            if (this._minSelectWidth != null) {
        if (this._minSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinSelectWidth(__minSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minSelectWidth", this._minSelectWidth);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            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._oneditactivated != null) {
        if (this._oneditactivated.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivated(__oneditactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivated", this._oneditactivated);
        }
      }
                        
            if (this._oneditactivation != null) {
        if (this._oneditactivation.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivation(__oneditactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivation", this._oneditactivation);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            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._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._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            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._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            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._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onviewactivated != null) {
        if (this._onviewactivated.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivated(__onviewactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivated", this._onviewactivated);
        }
      }
                        
            if (this._onviewactivation != null) {
        if (this._onviewactivation.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivation(__onviewactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivation", this._onviewactivation);
        }
      }
                        
            if (this._openOnEdit != null) {
        if (this._openOnEdit.isLiteralText()) {
          try {
                       
            Boolean __openOnEdit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._openOnEdit.getExpressionString(),
                      Boolean.class);
         
                        comp.setOpenOnEdit(__openOnEdit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("openOnEdit", this._openOnEdit);
        }
      }
                         
            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._saveControlIcon != null) {
        if (this._saveControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._saveControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSaveControlIcon(__saveControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("saveControlIcon", this._saveControlIcon);
        }
      }
                         
            if (this._selectWidth != null) {
        if (this._selectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __selectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectWidth(__selectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectWidth", this._selectWidth);
        }
      }
                        
            if (this._showControls != null) {
        if (this._showControls.isLiteralText()) {
          try {
                       
            Boolean __showControls = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showControls.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowControls(__showControls.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showControls", this._showControls);
        }
      }
                        
            if (this._showValueInView != null) {
        if (this._showValueInView.isLiteralText()) {
          try {
                       
            Boolean __showValueInView = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showValueInView.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowValueInView(__showValueInView.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showValueInView", this._showValueInView);
        }
      }
                         
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            Integer __tabindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      Integer.class);
         
                        comp.setTabindex(__tabindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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._viewClass != null) {
        if (this._viewClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewClass(__viewClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewClass", this._viewClass);
        }
      }
                        
            if (this._viewHoverClass != null) {
        if (this._viewHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewHoverClass(__viewHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewHoverClass", this._viewHoverClass);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInplaceSelect

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
             
            if (this._cancelControlIcon != null) {
        if (this._cancelControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cancelControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCancelControlIcon(__cancelControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
        }
      }
                        
            if (this._changedClass != null) {
        if (this._changedClass.isLiteralText()) {
          try {
                       
            java.lang.String __changedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._changedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setChangedClass(__changedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("changedClass", this._changedClass);
        }
      }
                        
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        
            if (this._controlHoverClass != null) {
        if (this._controlHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlHoverClass(__controlHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlHoverClass", this._controlHoverClass);
        }
      }
                        
            if (this._controlPressClass != null) {
        if (this._controlPressClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlPressClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlPressClass(__controlPressClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlPressClass", this._controlPressClass);
        }
      }
                        
            if (this._controlsHorizontalPosition != null) {
        if (this._controlsHorizontalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsHorizontalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
        }
      }
                        
            if (this._controlsVerticalPosition != null) {
        if (this._controlsVerticalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalPosition(__controlsVerticalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
        }
      }
                        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._defaultLabel != null) {
        if (this._defaultLabel.isLiteralText()) {
          try {
                       
            java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDefaultLabel(__defaultLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultLabel", this._defaultLabel);
        }
      }
                        
            if (this._editClass != null) {
        if (this._editClass.isLiteralText()) {
          try {
                       
            java.lang.String __editClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditClass(__editClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editClass", this._editClass);
        }
      }
                        
            if (this._editEvent != null) {
        if (this._editEvent.isLiteralText()) {
          try {
                       
            java.lang.String __editEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditEvent(__editEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editEvent", this._editEvent);
        }
      }
                           
            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._layout != null) {
        if (this._layout.isLiteralText()) {
          try {
                       
            java.lang.String __layout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._layout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLayout(__layout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("layout", this._layout);
        }
      }
                        
            if (this._listHeight != null) {
        if (this._listHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListHeight(__listHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listHeight", this._listHeight);
        }
      }
                        
            if (this._listWidth != null) {
        if (this._listWidth.isLiteralText()) {
          try {
                       
            java.lang.String __listWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListWidth(__listWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listWidth", this._listWidth);
        }
      }
                          
            if (this._maxSelectWidth != null) {
        if (this._maxSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxSelectWidth(__maxSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
        }
      }
                        
            if (this._minSelectWidth != null) {
        if (this._minSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinSelectWidth(__minSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minSelectWidth", this._minSelectWidth);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            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._oneditactivated != null) {
        if (this._oneditactivated.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivated(__oneditactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivated", this._oneditactivated);
        }
      }
                        
            if (this._oneditactivation != null) {
        if (this._oneditactivation.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivation(__oneditactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivation", this._oneditactivation);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            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._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._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            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._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            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._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onviewactivated != null) {
        if (this._onviewactivated.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivated(__onviewactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivated", this._onviewactivated);
        }
      }
                        
            if (this._onviewactivation != null) {
        if (this._onviewactivation.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivation(__onviewactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivation", this._onviewactivation);
        }
      }
                        
            if (this._openOnEdit != null) {
        if (this._openOnEdit.isLiteralText()) {
          try {
                       
            Boolean __openOnEdit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._openOnEdit.getExpressionString(),
                      Boolean.class);
         
                        comp.setOpenOnEdit(__openOnEdit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("openOnEdit", this._openOnEdit);
        }
      }
                         
            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._saveControlIcon != null) {
        if (this._saveControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._saveControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSaveControlIcon(__saveControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("saveControlIcon", this._saveControlIcon);
        }
      }
                         
            if (this._selectWidth != null) {
        if (this._selectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __selectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectWidth(__selectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectWidth", this._selectWidth);
        }
      }
                        
            if (this._showControls != null) {
        if (this._showControls.isLiteralText()) {
          try {
                       
            Boolean __showControls = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showControls.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowControls(__showControls.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showControls", this._showControls);
        }
      }
                         
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            Integer __tabindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      Integer.class);
         
                        comp.setTabindex(__tabindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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._viewClass != null) {
        if (this._viewClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewClass(__viewClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewClass", this._viewClass);
        }
      }
                        
            if (this._viewHoverClass != null) {
        if (this._viewHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewHoverClass(__viewHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewHoverClass", this._viewHoverClass);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInplaceSelect

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
             
            if (this._cancelControlIcon != null) {
        if (this._cancelControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cancelControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCancelControlIcon(__cancelControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
        }
      }
                        
            if (this._changedClass != null) {
        if (this._changedClass.isLiteralText()) {
          try {
                       
            java.lang.String __changedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._changedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setChangedClass(__changedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("changedClass", this._changedClass);
        }
      }
                        
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        
            if (this._controlHoverClass != null) {
        if (this._controlHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlHoverClass(__controlHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlHoverClass", this._controlHoverClass);
        }
      }
                        
            if (this._controlPressClass != null) {
        if (this._controlPressClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlPressClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlPressClass(__controlPressClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlPressClass", this._controlPressClass);
        }
      }
                        
            if (this._controlsHorizontalPosition != null) {
        if (this._controlsHorizontalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsHorizontalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
        }
      }
                        
            if (this._controlsVerticalPosition != null) {
        if (this._controlsVerticalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalPosition(__controlsVerticalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
        }
      }
                        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._defaultLabel != null) {
        if (this._defaultLabel.isLiteralText()) {
          try {
                       
            java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDefaultLabel(__defaultLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultLabel", this._defaultLabel);
        }
      }
                        
            if (this._editClass != null) {
        if (this._editClass.isLiteralText()) {
          try {
                       
            java.lang.String __editClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditClass(__editClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editClass", this._editClass);
        }
      }
                        
            if (this._editEvent != null) {
        if (this._editEvent.isLiteralText()) {
          try {
                       
            java.lang.String __editEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditEvent(__editEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editEvent", this._editEvent);
        }
      }
                           
            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._layout != null) {
        if (this._layout.isLiteralText()) {
          try {
                       
            java.lang.String __layout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._layout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLayout(__layout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("layout", this._layout);
        }
      }
                        
            if (this._listHeight != null) {
        if (this._listHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListHeight(__listHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listHeight", this._listHeight);
        }
      }
                        
            if (this._listWidth != null) {
        if (this._listWidth.isLiteralText()) {
          try {
                       
            java.lang.String __listWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListWidth(__listWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listWidth", this._listWidth);
        }
      }
                          
            if (this._maxSelectWidth != null) {
        if (this._maxSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxSelectWidth(__maxSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
        }
      }
                        
            if (this._minSelectWidth != null) {
        if (this._minSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinSelectWidth(__minSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minSelectWidth", this._minSelectWidth);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            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._oneditactivated != null) {
        if (this._oneditactivated.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivated(__oneditactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivated", this._oneditactivated);
        }
      }
                        
            if (this._oneditactivation != null) {
        if (this._oneditactivation.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivation(__oneditactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivation", this._oneditactivation);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            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._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._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            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._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            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._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onviewactivated != null) {
        if (this._onviewactivated.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivated(__onviewactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivated", this._onviewactivated);
        }
      }
                        
            if (this._onviewactivation != null) {
        if (this._onviewactivation.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivation(__onviewactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivation", this._onviewactivation);
        }
      }
                        
            if (this._openOnEdit != null) {
        if (this._openOnEdit.isLiteralText()) {
          try {
                       
            Boolean __openOnEdit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._openOnEdit.getExpressionString(),
                      Boolean.class);
         
                        comp.setOpenOnEdit(__openOnEdit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("openOnEdit", this._openOnEdit);
        }
      }
                         
            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._saveControlIcon != null) {
        if (this._saveControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._saveControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSaveControlIcon(__saveControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("saveControlIcon", this._saveControlIcon);
        }
      }
                         
            if (this._selectWidth != null) {
        if (this._selectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __selectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectWidth(__selectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectWidth", this._selectWidth);
        }
      }
                        
            if (this._showControls != null) {
        if (this._showControls.isLiteralText()) {
          try {
                       
            Boolean __showControls = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showControls.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowControls(__showControls.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showControls", this._showControls);
        }
      }
                        
            if (this._showValueInView != null) {
        if (this._showValueInView.isLiteralText()) {
          try {
                       
            Boolean __showValueInView = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showValueInView.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowValueInView(__showValueInView.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showValueInView", this._showValueInView);
        }
      }
                         
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            Integer __tabindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      Integer.class);
         
                        comp.setTabindex(__tabindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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._viewClass != null) {
        if (this._viewClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewClass(__viewClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewClass", this._viewClass);
        }
      }
                        
            if (this._viewHoverClass != null) {
        if (this._viewHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewHoverClass(__viewHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewHoverClass", this._viewHoverClass);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInplaceSelect

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
             
            if (this._cancelControlIcon != null) {
        if (this._cancelControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cancelControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCancelControlIcon(__cancelControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
        }
      }
                        
            if (this._changedClass != null) {
        if (this._changedClass.isLiteralText()) {
          try {
                       
            java.lang.String __changedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._changedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setChangedClass(__changedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("changedClass", this._changedClass);
        }
      }
                        
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        
            if (this._controlHoverClass != null) {
        if (this._controlHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlHoverClass(__controlHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlHoverClass", this._controlHoverClass);
        }
      }
                        
            if (this._controlPressClass != null) {
        if (this._controlPressClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlPressClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlPressClass(__controlPressClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlPressClass", this._controlPressClass);
        }
      }
                        
            if (this._controlsHorizontalPosition != null) {
        if (this._controlsHorizontalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsHorizontalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
        }
      }
                        
            if (this._controlsVerticalPosition != null) {
        if (this._controlsVerticalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalPosition(__controlsVerticalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
        }
      }
                        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._defaultLabel != null) {
        if (this._defaultLabel.isLiteralText()) {
          try {
                       
            java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDefaultLabel(__defaultLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultLabel", this._defaultLabel);
        }
      }
                        
            if (this._editClass != null) {
        if (this._editClass.isLiteralText()) {
          try {
                       
            java.lang.String __editClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditClass(__editClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editClass", this._editClass);
        }
      }
                        
            if (this._editEvent != null) {
        if (this._editEvent.isLiteralText()) {
          try {
                       
            java.lang.String __editEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditEvent(__editEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editEvent", this._editEvent);
        }
      }
                           
            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._layout != null) {
        if (this._layout.isLiteralText()) {
          try {
                       
            java.lang.String __layout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._layout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLayout(__layout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("layout", this._layout);
        }
      }
                        
            if (this._listHeight != null) {
        if (this._listHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListHeight(__listHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listHeight", this._listHeight);
        }
      }
                        
            if (this._listWidth != null) {
        if (this._listWidth.isLiteralText()) {
          try {
                       
            java.lang.String __listWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListWidth(__listWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listWidth", this._listWidth);
        }
      }
                          
            if (this._maxSelectWidth != null) {
        if (this._maxSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxSelectWidth(__maxSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
        }
      }
                        
            if (this._minSelectWidth != null) {
        if (this._minSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinSelectWidth(__minSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minSelectWidth", this._minSelectWidth);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            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._oneditactivated != null) {
        if (this._oneditactivated.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivated(__oneditactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivated", this._oneditactivated);
        }
      }
                        
            if (this._oneditactivation != null) {
        if (this._oneditactivation.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivation(__oneditactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivation", this._oneditactivation);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            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._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._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            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._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            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._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onviewactivated != null) {
        if (this._onviewactivated.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivated(__onviewactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivated", this._onviewactivated);
        }
      }
                        
            if (this._onviewactivation != null) {
        if (this._onviewactivation.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivation(__onviewactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivation", this._onviewactivation);
        }
      }
                        
            if (this._openOnEdit != null) {
        if (this._openOnEdit.isLiteralText()) {
          try {
                       
            Boolean __openOnEdit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._openOnEdit.getExpressionString(),
                      Boolean.class);
         
                        comp.setOpenOnEdit(__openOnEdit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("openOnEdit", this._openOnEdit);
        }
      }
                         
            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._saveControlIcon != null) {
        if (this._saveControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._saveControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSaveControlIcon(__saveControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("saveControlIcon", this._saveControlIcon);
        }
      }
                         
            if (this._selectWidth != null) {
        if (this._selectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __selectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectWidth(__selectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectWidth", this._selectWidth);
        }
      }
                        
            if (this._showControls != null) {
        if (this._showControls.isLiteralText()) {
          try {
                       
            Boolean __showControls = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showControls.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowControls(__showControls.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showControls", this._showControls);
        }
      }
                        
            if (this._showValueInView != null) {
        if (this._showValueInView.isLiteralText()) {
          try {
                       
            Boolean __showValueInView = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showValueInView.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowValueInView(__showValueInView.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showValueInView", this._showValueInView);
        }
      }
                         
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            Integer __tabindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      Integer.class);
         
                        comp.setTabindex(__tabindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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._viewClass != null) {
        if (this._viewClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewClass(__viewClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewClass", this._viewClass);
        }
      }
                        
            if (this._viewHoverClass != null) {
        if (this._viewHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewHoverClass(__viewHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewHoverClass", this._viewHoverClass);
View Full Code Here

Examples of org.richfaces.component.html.HtmlInplaceSelect

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlInplaceSelect comp = (HtmlInplaceSelect) component;
             
            if (this._cancelControlIcon != null) {
        if (this._cancelControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __cancelControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._cancelControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setCancelControlIcon(__cancelControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("cancelControlIcon", this._cancelControlIcon);
        }
      }
                        
            if (this._changedClass != null) {
        if (this._changedClass.isLiteralText()) {
          try {
                       
            java.lang.String __changedClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._changedClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setChangedClass(__changedClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("changedClass", this._changedClass);
        }
      }
                        
            if (this._controlClass != null) {
        if (this._controlClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlClass(__controlClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlClass", this._controlClass);
        }
      }
                        
            if (this._controlHoverClass != null) {
        if (this._controlHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlHoverClass(__controlHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlHoverClass", this._controlHoverClass);
        }
      }
                        
            if (this._controlPressClass != null) {
        if (this._controlPressClass.isLiteralText()) {
          try {
                       
            java.lang.String __controlPressClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlPressClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlPressClass(__controlPressClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlPressClass", this._controlPressClass);
        }
      }
                        
            if (this._controlsHorizontalPosition != null) {
        if (this._controlsHorizontalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsHorizontalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsHorizontalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsHorizontalPosition(__controlsHorizontalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsHorizontalPosition", this._controlsHorizontalPosition);
        }
      }
                        
            if (this._controlsVerticalPosition != null) {
        if (this._controlsVerticalPosition.isLiteralText()) {
          try {
                       
            java.lang.String __controlsVerticalPosition = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._controlsVerticalPosition.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setControlsVerticalPosition(__controlsVerticalPosition);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("controlsVerticalPosition", this._controlsVerticalPosition);
        }
      }
                        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._defaultLabel != null) {
        if (this._defaultLabel.isLiteralText()) {
          try {
                       
            java.lang.String __defaultLabel = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._defaultLabel.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDefaultLabel(__defaultLabel);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("defaultLabel", this._defaultLabel);
        }
      }
                        
            if (this._editClass != null) {
        if (this._editClass.isLiteralText()) {
          try {
                       
            java.lang.String __editClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditClass(__editClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editClass", this._editClass);
        }
      }
                        
            if (this._editEvent != null) {
        if (this._editEvent.isLiteralText()) {
          try {
                       
            java.lang.String __editEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._editEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setEditEvent(__editEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("editEvent", this._editEvent);
        }
      }
                           
            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._layout != null) {
        if (this._layout.isLiteralText()) {
          try {
                       
            java.lang.String __layout = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._layout.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setLayout(__layout);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("layout", this._layout);
        }
      }
                        
            if (this._listHeight != null) {
        if (this._listHeight.isLiteralText()) {
          try {
                       
            java.lang.String __listHeight = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listHeight.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListHeight(__listHeight);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listHeight", this._listHeight);
        }
      }
                        
            if (this._listWidth != null) {
        if (this._listWidth.isLiteralText()) {
          try {
                       
            java.lang.String __listWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._listWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setListWidth(__listWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("listWidth", this._listWidth);
        }
      }
                          
            if (this._maxSelectWidth != null) {
        if (this._maxSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __maxSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._maxSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMaxSelectWidth(__maxSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("maxSelectWidth", this._maxSelectWidth);
        }
      }
                        
            if (this._minSelectWidth != null) {
        if (this._minSelectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __minSelectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._minSelectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMinSelectWidth(__minSelectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("minSelectWidth", this._minSelectWidth);
        }
      }
                        
            if (this._onblur != null) {
        if (this._onblur.isLiteralText()) {
          try {
                       
            java.lang.String __onblur = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onblur.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnblur(__onblur);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onblur", this._onblur);
        }
      }
                        
            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._oneditactivated != null) {
        if (this._oneditactivated.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivated(__oneditactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivated", this._oneditactivated);
        }
      }
                        
            if (this._oneditactivation != null) {
        if (this._oneditactivation.isLiteralText()) {
          try {
                       
            java.lang.String __oneditactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oneditactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOneditactivation(__oneditactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oneditactivation", this._oneditactivation);
        }
      }
                        
            if (this._onfocus != null) {
        if (this._onfocus.isLiteralText()) {
          try {
                       
            java.lang.String __onfocus = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onfocus.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnfocus(__onfocus);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onfocus", this._onfocus);
        }
      }
                        
            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._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._oninputdblclick != null) {
        if (this._oninputdblclick.isLiteralText()) {
          try {
                       
            java.lang.String __oninputdblclick = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputdblclick.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputdblclick(__oninputdblclick);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputdblclick", this._oninputdblclick);
        }
      }
                        
            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._oninputmousedown != null) {
        if (this._oninputmousedown.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousedown = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousedown.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousedown(__oninputmousedown);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousedown", this._oninputmousedown);
        }
      }
                        
            if (this._oninputmousemove != null) {
        if (this._oninputmousemove.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmousemove = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmousemove.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmousemove(__oninputmousemove);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmousemove", this._oninputmousemove);
        }
      }
                        
            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._oninputmouseup != null) {
        if (this._oninputmouseup.isLiteralText()) {
          try {
                       
            java.lang.String __oninputmouseup = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oninputmouseup.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOninputmouseup(__oninputmouseup);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oninputmouseup", this._oninputmouseup);
        }
      }
                                
            if (this._onselect != null) {
        if (this._onselect.isLiteralText()) {
          try {
                       
            java.lang.String __onselect = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onselect.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnselect(__onselect);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onselect", this._onselect);
        }
      }
                        
            if (this._onviewactivated != null) {
        if (this._onviewactivated.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivated = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivated.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivated(__onviewactivated);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivated", this._onviewactivated);
        }
      }
                        
            if (this._onviewactivation != null) {
        if (this._onviewactivation.isLiteralText()) {
          try {
                       
            java.lang.String __onviewactivation = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onviewactivation.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnviewactivation(__onviewactivation);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onviewactivation", this._onviewactivation);
        }
      }
                        
            if (this._openOnEdit != null) {
        if (this._openOnEdit.isLiteralText()) {
          try {
                       
            Boolean __openOnEdit = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._openOnEdit.getExpressionString(),
                      Boolean.class);
         
                        comp.setOpenOnEdit(__openOnEdit.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("openOnEdit", this._openOnEdit);
        }
      }
                         
            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._saveControlIcon != null) {
        if (this._saveControlIcon.isLiteralText()) {
          try {
                       
            java.lang.String __saveControlIcon = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._saveControlIcon.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSaveControlIcon(__saveControlIcon);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("saveControlIcon", this._saveControlIcon);
        }
      }
                         
            if (this._selectWidth != null) {
        if (this._selectWidth.isLiteralText()) {
          try {
                       
            java.lang.String __selectWidth = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._selectWidth.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setSelectWidth(__selectWidth);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("selectWidth", this._selectWidth);
        }
      }
                        
            if (this._showControls != null) {
        if (this._showControls.isLiteralText()) {
          try {
                       
            Boolean __showControls = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showControls.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowControls(__showControls.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showControls", this._showControls);
        }
      }
                        
            if (this._showValueInView != null) {
        if (this._showValueInView.isLiteralText()) {
          try {
                       
            Boolean __showValueInView = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showValueInView.getExpressionString(),
                      Boolean.class);
         
                        comp.setShowValueInView(__showValueInView.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showValueInView", this._showValueInView);
        }
      }
                         
            if (this._tabindex != null) {
        if (this._tabindex.isLiteralText()) {
          try {
                       
            Integer __tabindex = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._tabindex.getExpressionString(),
                      Integer.class);
         
                        comp.setTabindex(__tabindex.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("tabindex", this._tabindex);
        }
      }
                         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._viewClass != null) {
        if (this._viewClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewClass(__viewClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewClass", this._viewClass);
        }
      }
                        
            if (this._viewHoverClass != null) {
        if (this._viewHoverClass.isLiteralText()) {
          try {
                       
            java.lang.String __viewHoverClass = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._viewHoverClass.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setViewHoverClass(__viewHoverClass);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("viewHoverClass", this._viewHoverClass);
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.