Code: Select all
<p:tooltip id="toolTip" for="idButton" value="First line Second Line" position="top"/>
You can also use First line<br/>Second Line as the direct content of the p:tooltip. So you don't have to put it in two h:outputTexts separated by a `<br/> (although you can). And see my other answer. Effectively making both solutions overly complex.
Users browsing this forum: No registered users and 1 guest