Global Tooltips: How to hide for disabled components

Community Driven Extensions Project
Post Reply
RueKow
Posts: 331
Joined: 21 Jun 2011, 23:34
Location: Germany - Wiesbaden

01 Feb 2013, 14:29

I'm using global tooltips in my form. Some of my buttons will be dynamically disabled. In this case standard tooltips were displayed.

Is it possible to hide these standard tooltips for disabled components? I could try it with global limited tooltips, something like this:

Code: Select all

<pe:tooltip global="true" forSelector="not .ui-state-disabled"/>
But it doesn't work and I don't know how to negate jquery selector "ui-state-disabled". Any ideas?
Rüdiger

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

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

01 Feb 2013, 21:55

not selector is described here http://api.jquery.com/not-selector/
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 21 guests