toolTip (RichFaces JSF components library Tag library documentation)
Keywords: $title

Overview | Library | Tag | Help
| FRAMES NO FRAMES

## RichFaces ( Legacy URL )
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
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
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
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 tooltip and should have following values client (default), 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.String`) | Label on the tooltip
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.