Global tooltip doesnt work with disabled = "true"

Community Driven Extensions Project
Post Reply
vineet
Posts: 387
Joined: 14 Oct 2011, 23:40

03 Apr 2012, 19:45

Hi ,

We are using the global tool tip . i have noticed that the global tool tip doesn't work with the disabled fields . Can we please confirm ?

using PF3.2, Mojarra2.1.3

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

04 Apr 2012, 10:51

Hi,

Yes, that's right. Disabled elements don't respond and don't trigger events (mouseover, mouseout, focus, etc.). If you want to disable an element and run a pe:tooltip on it (actually any other tooltip too), surround the element in a wrapper and apply the tooltip to that instead. A wrapper can be for instance a simple span element (h:panelGroup).

Good luck.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest