Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes JSF and the fly likes need to render tooltip with <f:selectItems> used with <h:selectOneMenu> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "need to render tooltip with <f:selectItems> used with <h:selectOneMenu>" Watch "need to render tooltip with <f:selectItems> used with <h:selectOneMenu>" New topic

need to render tooltip with <f:selectItems> used with <h:selectOneMenu>

Jagdeep Bains

Joined: Feb 24, 2011
Posts: 1
Can Any body suggest how can I render tooltip for list for values rendered by my following code , I am new to JSF and need to render tooltip for my dropdown items.

I am rendering List "Active"(yes/ no) using <f:selectItems> and need tooltip for the same.
If it is not possible to do it directly, how can i customize <f:selectItems> to render tooltip.

Jagdeep Singh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15949

The RichFaces JSF extension tagset has a tooltip tag that can be applied to most rectangular regions (which is what most controls are built as).

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: need to render tooltip with <f:selectItems> used with <h:selectOneMenu>
Similar Threads
Question with selectOneMenu
How can I dynamically choose which component to use at render-time?
how to render a component based on condition
Displaying 2D array using data tables
Ajax Listener does not get called properly