Package org.richfaces.component.html

Examples of org.richfaces.component.html.HtmlToolTip


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolTip comp = (HtmlToolTip) component;
            setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                   
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._attached != null) {
        if (this._attached.isLiteralText()) {
          try {
                       
            Boolean __attached = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._attached.getExpressionString(),
                      Boolean.class);
         
                        comp.setAttached(__attached.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("attached", this._attached);
        }
      }
                         
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                          
            if (this._followMouse != null) {
        if (this._followMouse.isLiteralText()) {
          try {
                       
            Boolean __followMouse = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._followMouse.getExpressionString(),
                      Boolean.class);
         
                        comp.setFollowMouse(__followMouse.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("followMouse", this._followMouse);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            Integer __hideDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setHideDelay(__hideDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._hideEvent != null) {
        if (this._hideEvent.isLiteralText()) {
          try {
                       
            java.lang.String __hideEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHideEvent(__hideEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideEvent", this._hideEvent);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._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._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                         
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                                
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                         
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            Integer __showDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setShowDelay(__showDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                            
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
        }
      }
                        
            if (this._zorder != null) {
        if (this._zorder.isLiteralText()) {
          try {
                       
            Integer __zorder = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zorder.getExpressionString(),
                      Integer.class);
         
                        comp.setZorder(__zorder.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zorder", this._zorder);
View Full Code Here


     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolTip comp = (HtmlToolTip) component;
            setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                   
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._attached != null) {
        if (this._attached.isLiteralText()) {
          try {
                       
            Boolean __attached = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._attached.getExpressionString(),
                      Boolean.class);
         
                        comp.setAttached(__attached.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("attached", this._attached);
        }
      }
                         
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                          
            if (this._followMouse != null) {
        if (this._followMouse.isLiteralText()) {
          try {
                       
            Boolean __followMouse = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._followMouse.getExpressionString(),
                      Boolean.class);
         
                        comp.setFollowMouse(__followMouse.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("followMouse", this._followMouse);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            Integer __hideDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setHideDelay(__hideDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._hideEvent != null) {
        if (this._hideEvent.isLiteralText()) {
          try {
                       
            java.lang.String __hideEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHideEvent(__hideEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideEvent", this._hideEvent);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._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._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                         
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                                
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                         
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            Integer __showDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setShowDelay(__showDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                            
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
        }
      }
                        
            if (this._zorder != null) {
        if (this._zorder.isLiteralText()) {
          try {
                       
            Integer __zorder = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zorder.getExpressionString(),
                      Integer.class);
         
                        comp.setZorder(__zorder.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zorder", this._zorder);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolTip comp = (HtmlToolTip) component;
            setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                   
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._attached != null) {
        if (this._attached.isLiteralText()) {
          try {
                       
            Boolean __attached = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._attached.getExpressionString(),
                      Boolean.class);
         
                        comp.setAttached(__attached.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("attached", this._attached);
        }
      }
                         
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                          
            if (this._followMouse != null) {
        if (this._followMouse.isLiteralText()) {
          try {
                       
            Boolean __followMouse = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._followMouse.getExpressionString(),
                      Boolean.class);
         
                        comp.setFollowMouse(__followMouse.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("followMouse", this._followMouse);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            Integer __hideDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setHideDelay(__hideDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._hideEvent != null) {
        if (this._hideEvent.isLiteralText()) {
          try {
                       
            java.lang.String __hideEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHideEvent(__hideEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideEvent", this._hideEvent);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._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._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                         
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                                
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                         
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            Integer __showDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setShowDelay(__showDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                            
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
        }
      }
                        
            if (this._zorder != null) {
        if (this._zorder.isLiteralText()) {
          try {
                       
            Integer __zorder = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zorder.getExpressionString(),
                      Integer.class);
         
                        comp.setZorder(__zorder.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zorder", this._zorder);
View Full Code Here

        }

  public void testTooltip_DefaultClientSide()
  {
    // Make sure we can lookup server component by name
    HtmlToolTip tt = (HtmlToolTip)server.findComponent(_DEFAULT_CLIENTSIDE_TOOLTIP);
    assertNotNull("Unable to find server-side HtmlToolTip component",tt);
   
    // 1) Find client-side tooltip span
    HtmlSpan tooltip1 = (HtmlSpan)((HtmlPage)client.getContentPage()).getElementById(_DEFAULT_CLIENTSIDE_TOOLTIP)// Required because name collision
    assertNotNull("Unable to find client-side span named \""+_DEFAULT_CLIENTSIDE_TOOLTIP+"\"",tooltip1);       
View Full Code Here

  }
 
  public void testTooltip_FollowMouse() throws InterruptedException
  {
    // Make sure we can lookup server component by name
    HtmlToolTip tt = (HtmlToolTip)server.findComponent(_FOLLOWMOUSE_TOOLTIP);
    assertNotNull("Unable to find server-side HtmlToolTip component",tt);
   
    // 1) Find client-side tooltip span
    HtmlSpan tooltip1 = (HtmlSpan)((HtmlPage)client.getContentPage()).getElementById(_FOLLOWMOUSE_TOOLTIP)// Required because name collision
    assertNotNull("Unable to find client-side span named \""+_FOLLOWMOUSE_TOOLTIP+"\"",tooltip1);       
View Full Code Here

  }
 
  public void testTooltip_ServerRender() throws InterruptedException
  {
    // Make sure we can lookup server component by name
    HtmlToolTip tt = (HtmlToolTip)server.findComponent(_SERVERREDNER_TOOLTIP);
    assertNotNull("Unable to find server-side HtmlToolTip component",tt);

    // 1) Server-side rendered tooltip seems to be a child div
    HtmlDivision tooltip1 = (HtmlDivision)((HtmlPage)client.getContentPage()).getElementById(_SERVERREDNER_TOOLTIP);
    assertNotNull("Unable to find client-side div named \""+_SERVERREDNER_TOOLTIP+"\"",tooltip1);
View Full Code Here

  }
 
  public void testTooltip_MouseClick() throws IOException, InterruptedException
  {
    // Make sure we can lookup server component by name
    HtmlToolTip tt = (HtmlToolTip)server.findComponent(_MOUSECLICK_TOOLTIP);
    assertNotNull("Unable to find server-side HtmlToolTip component",tt);

    // 1) Server-side rendered tooltip seems to be a child div
    HtmlDivision tooltip1 = (HtmlDivision)((HtmlPage)client.getContentPage()).getElementById(_MOUSECLICK_TOOLTIP);
    assertNotNull("Unable to find client-side div named \""+_MOUSECLICK_TOOLTIP+"\"",tooltip1);
View Full Code Here

     */
    protected void setProperties(UIComponent component)
    {
        // TODO Auto-generated method stub
        super.setProperties(component);
    HtmlToolTip comp = (HtmlToolTip) component;
            setActionProperty(comp, this._action);
                   setActionListenerProperty(comp, this._actionListener);
                   
            if (this._ajaxSingle != null) {
        if (this._ajaxSingle.isLiteralText()) {
          try {
                       
            Boolean __ajaxSingle = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._ajaxSingle.getExpressionString(),
                      Boolean.class);
         
                        comp.setAjaxSingle(__ajaxSingle.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("ajaxSingle", this._ajaxSingle);
        }
      }
                        
            if (this._attached != null) {
        if (this._attached.isLiteralText()) {
          try {
                       
            Boolean __attached = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._attached.getExpressionString(),
                      Boolean.class);
         
                        comp.setAttached(__attached.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("attached", this._attached);
        }
      }
                         
            if (this._direction != null) {
        if (this._direction.isLiteralText()) {
          try {
                       
            java.lang.String __direction = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._direction.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setDirection(__direction);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("direction", this._direction);
        }
      }
                        
            if (this._disabled != null) {
        if (this._disabled.isLiteralText()) {
          try {
                       
            Boolean __disabled = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._disabled.getExpressionString(),
                      Boolean.class);
         
                        comp.setDisabled(__disabled.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("disabled", this._disabled);
        }
      }
                          
            if (this._followMouse != null) {
        if (this._followMouse.isLiteralText()) {
          try {
                       
            Boolean __followMouse = (Boolean) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._followMouse.getExpressionString(),
                      Boolean.class);
         
                        comp.setFollowMouse(__followMouse.booleanValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("followMouse", this._followMouse);
        }
      }
                        
            if (this._for != null) {
        if (this._for.isLiteralText()) {
          try {
                       
            java.lang.String __for = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._for.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setFor(__for);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("for", this._for);
        }
      }
                        
            if (this._hideDelay != null) {
        if (this._hideDelay.isLiteralText()) {
          try {
                       
            Integer __hideDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setHideDelay(__hideDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideDelay", this._hideDelay);
        }
      }
                        
            if (this._hideEvent != null) {
        if (this._hideEvent.isLiteralText()) {
          try {
                       
            java.lang.String __hideEvent = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._hideEvent.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setHideEvent(__hideEvent);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("hideEvent", this._hideEvent);
        }
      }
                        
            if (this._horizontalOffset != null) {
        if (this._horizontalOffset.isLiteralText()) {
          try {
                       
            Integer __horizontalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._horizontalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setHorizontalOffset(__horizontalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("horizontalOffset", this._horizontalOffset);
        }
      }
                         
            if (this._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._mode != null) {
        if (this._mode.isLiteralText()) {
          try {
                       
            java.lang.String __mode = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._mode.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setMode(__mode);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("mode", this._mode);
        }
      }
                         
            if (this._oncomplete != null) {
        if (this._oncomplete.isLiteralText()) {
          try {
                       
            java.lang.String __oncomplete = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._oncomplete.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOncomplete(__oncomplete);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("oncomplete", this._oncomplete);
        }
      }
                         
            if (this._onhide != null) {
        if (this._onhide.isLiteralText()) {
          try {
                       
            java.lang.String __onhide = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onhide.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnhide(__onhide);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onhide", this._onhide);
        }
      }
                                
            if (this._onshow != null) {
        if (this._onshow.isLiteralText()) {
          try {
                       
            java.lang.String __onshow = (java.lang.String) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._onshow.getExpressionString(),
                      java.lang.String.class);
         
                        comp.setOnshow(__onshow);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("onshow", this._onshow);
        }
      }
                         
            if (this._showDelay != null) {
        if (this._showDelay.isLiteralText()) {
          try {
                       
            Integer __showDelay = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._showDelay.getExpressionString(),
                      Integer.class);
         
                        comp.setShowDelay(__showDelay.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("showDelay", this._showDelay);
        }
      }
                            
            if (this._value != null) {
        if (this._value.isLiteralText()) {
          try {
                       
            java.lang.Object __value = (java.lang.Object) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._value.getExpressionString(),
                      java.lang.Object.class);
         
                        comp.setValue(__value);
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("value", this._value);
        }
      }
                        
            if (this._verticalOffset != null) {
        if (this._verticalOffset.isLiteralText()) {
          try {
                       
            Integer __verticalOffset = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._verticalOffset.getExpressionString(),
                      Integer.class);
         
                        comp.setVerticalOffset(__verticalOffset.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("verticalOffset", this._verticalOffset);
        }
      }
                        
            if (this._zorder != null) {
        if (this._zorder.isLiteralText()) {
          try {
                       
            Integer __zorder = (Integer) getFacesContext().
              getApplication().
                getExpressionFactory().
                  coerceToType(this._zorder.getExpressionString(),
                      Integer.class);
         
                        comp.setZorder(__zorder.intValue());
                      } catch (ELException e) {
            throw new FacesException(e);
          }
        } else {
          component.setValueExpression("zorder", this._zorder);
View Full Code Here

TOP

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

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