This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Rich tooltip is not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Rich tooltip is not working" Watch "Rich tooltip is not working" New topic

Rich tooltip is not working

Avik Mazunder
Ranch Hand

Joined: Jun 27, 2012
Posts: 39

I am trying to add tooltip to a textbox...but it is not working...I have tried followings

but none is working. I am using Richfaces 4.2.2final, JSF 2.0, JBoss server 7.1.1 final. Thanks in advance.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15960

You have to define the tooltip as a child element of the inputText control. Just placing it next to the control won't work. Also (at least in RichFaces 3), tooltips only work on input controls, not on general objects such as panels (although that's not your problem).

Customer surveys are for companies who didn't pay proper attention to begin with.
suresh dasari
Ranch Hand

Joined: Oct 05, 2009
Posts: 121

You can have Rich tooltip outside the inputText tag, but you need to provide the for value which is same as id value of inputText tag.

Sun Certified Java Programmer with 93 percent
It is sorta covered in the JavaRanch Style Guide.
subject: Rich tooltip is not working
Similar Threads
Rich:tooltip JSF Problem
Tooltips and command buttons
rich:toolTip and a4j:include
Nested panels not rendering, using a4j:support
File browser button