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
binding | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | 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 (top-right, top-left bottom-right, bottom-left, auto(default))
disabled | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If false the components is rendered on the client but Js for calling disabled.
event | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | event
followMouse | false | false | `javax.el.ValueExpression` (must evaluate to `boolean`) | If 'true' tooltip should follow the mouse while it moves over the parent element
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.
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 popup list and mouse pointer
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`) | Allowed values: "inline" or "block". Block/inline mode flag. Tooltip will contain div/span elements accordingly.
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.
showEvent | false | false | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Event that triggers the tooltip appearance (default = 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 popup list and mouse pointer
zorder | false | false | `javax.el.ValueExpression` (must evaluate to `int`) | The same as CSS z-index for toolTip.

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.