Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces
Tag toolTip

Defines tooltip for parent component.

Tag Information
Tag Class | org.richfaces.taglib.ToolTipTag
TagExtraInfo Class | None
Body Content | JSP
Display Name | None

Attributes
Name | Required | Request-time | Type | Description
action | false | false | `javax.el.MethodExpression` (signature must match `java.lang.Object action()`) | MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by you, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property
actionListener | false | false | `javax.el.MethodExpression` (signature must match `void actionListener(javax.faces.event.ActionEvent)`) | MethodBinding pointing at method accepting an ActionEvent with return type void
ajaxSingle | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | boolean attribute which provides possibility to limit JSF tree processing(decoding, conversion/validation, value applying) to the component which sends the request only.
attached | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If the value of the "attached" attribute is "true", a component is attached to the parent component; if "false", component does not listen to activating browser events, but could be activated externally. Default value is "true"
binding | false | false | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The attribute takes a value-binding expression for a component property of a backing bean
direction | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines direction of the popup list to appear. Possible values are "top-right", "top-left", "bottom-right", "bottom-left", "auto". Default value is "bottom-right"
disabled | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If false the components is rendered on the client but JavaScript for calling disabled. Default value is "false"
event | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | DEPRECATED. Use showEvent instead. Default value is "mouseover"
followMouse | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "true" tooltip should follow the mouse while it moves over the parent element. Default value is "false"
for | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Id of the target component
hideDelay | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Delay in milliseconds before tooltip will be hidden. Default value is "0"
hideEvent | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event that triggers the tooltip disappearance. Default value is "none" (so, the component does not disappears)
horizontalOffset | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Sets the horizontal offset between pop-up list and mouse pointer. Default value is "10"
id | false | false | `java.lang.String` | Every component may have a unique id that is automatically created if omitted
immediate | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | True means, that the default ActionListener should be executed immediately (i.e. during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase
layout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Block/inline mode flag. Possible value are: "inline" or "block". Default value is "inline". Tooltip will contain div/span elements respectively
mode | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Controls the way of data loading to a tooltip. May have following values: "client" (default) and "ajax"
onclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is clicked
oncomplete | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code for call after the tooltip shown
ondblclick | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer button is double-clicked
onhide | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code for call after the tooltip hidden
onkeydown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed down
onkeypress | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is pressed and released
onkeyup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a key is released
onmousedown | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is pressed down
onmousemove | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved within
onmouseout | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved away
onmouseover | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: a script expression; a pointer is moved onto
onmouseup | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | HTML: script expression; a pointer button is released
onshow | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | JavaScript code for call after the tooltip called (some element overed) but before its requesting
rendered | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If "false", this component is not rendered
showDelay | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Delay in milliseconds before tooltip will be displayed. Default value is "0"
showEvent | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event that triggers the tooltip. Default value is "onmouseover"
style | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) is/are to be applied when this component is rendered
styleClass | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Corresponds to the HTML class attribute
value | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.Object`) | The current value for this component
verticalOffset | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | Sets the vertical offset between pop-up list and mouse pointer. Default value is "10"
zorder | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | The same as CSS z-index for toolTip. Default value is "99"

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.