Search code examples
javascriptrichfaces

Sticking Tooltip in Richfaces 4


Does Richfaces 4 provides any built-in possiblity of a tooltip which sticks and allows the user to select text or click a link within the tooltip? The tooltip will be placed within a table.

Or did you have had this requirement as well and how did you solve it?


Solution

  • That should be the most simple example for an interactive tooltip.

    <h:form>
    <rich:panel>
    <rich:tooltip followMouse="false" hideDelay="1500">
        <h:commandLink action="#{bean.doSomething()}" value="Do Something!" />
    </rich:tooltip>
    </rich:panel>
    </h:form>