Fork me on GitHub
Attention: This component is still under progress and experimental.
b:tooltip renders a Bootstrap popover for given component. Tooltip component is embeddable in all ButterFaces input fields, command link and table columns.
Tag attributes
Tag controls
component
If no placement is set tooltip placement will be automatically calculated by offeset to bottom and right browser border. Ordered positions are bottom, right, left, top.
some text stuff
Lorem ipsum dolor sit amet, consectetuer ...
                            <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://xmlns.jcp.org/jsf/html" 
      xmlns:f="http://xmlns.jcp.org/jsf/core" 
      xmlns:b="http://butterfaces.org/components"> 
<h:head /> 
<body>
        <a id="btn" class="btn btn-outline-secondary">hover me!</a>
        <b:tooltip id="input"
                   for="#btn"
                   title="custom title"
                   trigger="hover"
                   placement="null"
                   viewport="body"
                   rendered="true">
            <strong>some text stuff</strong>
            <br />
            <h:panelGroup>
                Lorem ipsum dolor sit amet, consectetuer ...
            </h:panelGroup>
        </b:tooltip>
</body> 
</html>