Attributes |
Name | Required | Request-time | Type | Description |
binding | no | false | javax.el.ValueExpression | Using an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean. |
converter | no | false | javax.faces.convert.Converter | Converter is an interface describing a Java class that can perform Object-to-String and String-to-Object conversions between model data objects and a String representation of those objects that is suitable for rendering. |
displayListener | no | false | javax.el.MethodExpression | A server side listener to be invoked when the tooltip is about to be shown in the client. |
fetch | no | false | javax.el.ValueExpression | When using "forDelegate", an EL expression can be specified as the value of this attribute. Such expression will be evaluated at the same point (e.g. row) where the component that triggered the tooltip is located, allowing to retrieve row data in a table or iterative container. The result is saved in the bean property specified by the "store" attribute. |
for | no | false | java.lang.String | Specifies the id of the component that will display the tooltip. Ignored if "global" is true. |
forContainer | no | false | java.lang.String | Specifies the id of the component that contains the component referenced by the "for" attribute. This is to be used in cases where the target component is inside an iterative container such as a data table and the tooltip component itself is outside. A more robust solution is to use "forDelegate" instead of this attribute. |
forDelegate | no | false | java.lang.String | Specifies the id of the component that will receive the tooltip listeners on behalf of the component specified in the "for" attribute. This is useful when the tooltip component is outside a data table or iterative container and references a component inside such container. This improves performance by avoiding the creation of tooltip objects in each each row. It also guards against dynamic updates that could replace the component and make it lose its tooltip listeners. Additionally, this method allows retrieving row data by using the "fetch" and "store" attributes. This is a better alternative to "forContainer". |
forElement | no | false | java.lang.String | Specifies the id of the HTML element that will display the tooltip. Applicable only if "for" component is not specified. Ignored if "global" is true. |
global | no | false | boolean | Boolean value specifying whether to create tooltips for all elements with a title attribute using the title attribute value. Default = 'false'. |
hideDelay | no | false | int | Time in milliseconds by which to delay the hiding of the tooltip. Default = '0'. |
hideEffect | no | false | java.lang.String | Effect to use upon hiding the tooltip e.g. fade, slide or grow. Default = 'fade'. |
hideEffectLength | no | false | int | Length of time in milliseconds the hide effect will last for. Default = '500'. |
hideEvent | no | false | java.lang.String | Event which will trigger the hiding of the tooltip. Possible values are DOM events, such as "mouseout", documented under jQuery's Event: bind(). Default = 'mouseout'. |
id | no | false | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
position | no | false | java.lang.String | The corner of the tooltip to position in relation to the target's corner. E.g. topLeft, bottomRight. See positioning for all possible values. Default = 'topLeft'. |
rendered | no | false | boolean | Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'. |
showDelay | no | false | int | Time in milliseconds by which to delay the showing of the tooltip. Default = '140'. |
showEffect | no | false | java.lang.String | Effect to use upon showing the tooltip e.g. fade, slide or grow. Default = 'fade'. |
showEffectLength | no | false | int | Length of time in milliseconds the show effect will last for. Default = '500'. |
showEvent | no | false | java.lang.String | Event which will trigger the showing of the tooltip. Possible values are DOM events, such as "mouseover", documented under jQuery's Event: bind(). Default = 'mouseover'. |
speechBubble | no | false | boolean | Specifies whether the tooltip should be stylized as a speech bubble (i.e. with a speech bubble arrow tip pointing to the triggerer element). Default = 'false'. |
store | no | false | java.lang.Object | The result of evaluating the expression specified in "fetch" is stored in the bean property specified in this attribute. |
style | no | false | java.lang.String | The inline style of the component, rendered on the root div of the component. |
styleClass | no | false | java.lang.String | The CSS style class of the component, rendered on the root div of the component. |
targetPosition | no | false | java.lang.String | The corner of the target element by which to position the tooltip by. E.g. topLeft, bottomRight. See positioning for all possible values. Default = 'bottomRight'. |
value | no | false | java.lang.Object | The current value of the simple component. The value to be rendered. |
widgetVar | no | false | java.lang.String | Name of the widget to access client side api |