Datatable : tooltip remains displayed

UI Components for JSF
Post Reply
denisduval75
Posts: 109
Joined: 08 Nov 2016, 16:53

06 Feb 2018, 10:26

Hello,
In a datatable I use the component pe: tooltip on the first column of the table whose label is clickable and allows me to open a window of information.
When clicking on the link, the tooltip remains displayed.

Thanks for your help.

My code:

Code: Select all

<p:commandLink id="idDetailLigneTotalGeneral"
     action="#{contributeurManagerBean.afficherDetailLigneTotalGeneral(contributeur.type)}"
     oncomplete="PF('widgetDetailLigne').show()"
     update="form">
     <h:outputText value="#{contributeur.libelle}" style="margin-left:28px"/>
</p:commandLink>
<pe:tooltip for="idDetailLigneTotalGeneral" value="Détail de la ligne" myPosition="center left" atPosition="center right" adjustX="5"/>

RueKow
Posts: 331
Joined: 21 Jun 2011, 23:34
Location: Germany - Wiesbaden

06 Feb 2018, 15:35

With PF tooltip you can use hide event. Maybe it works with PFE tooltip too.

Code: Select all

<p:tooltip showEvent="mouseover" hideEvent="mouseout click" />
Rüdiger

PrimeFaces 11.0 | Ultima 2.0
Mojarra 2.3 | Tomcat 8/9 | Win7/10 | OS X 10.14

denisduval75
Posts: 109
Joined: 08 Nov 2016, 16:53

09 Feb 2018, 08:22

Hello.
It works.
Thank you.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 29 guests