This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes How many components do I need? 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 "How many components do I need?" Watch "How many components do I need?" New topic

How many components do I need?

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3476

Suppose I have a list of items listed into a a JSF grid component.
I want to show a tooltip (another JSF component) over each item if the user hovers over it, this tooltip is getting its data via Ajax request.
How many tooltip components declarations do I need on the page?
One is enough or one for each item?
(Hint: I'm using RichFaces in the case you are curious)
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17249

I would hope just once in the column definition, meaning if you have 5 columns then 5 definitions for tooltips, because I would assume that each gets it from a different source. Unless there is a way to define it once.

So basically, I am speaking out of my you know what, and just guessing here. So I will shut up now.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: How many components do I need?
Similar Threads
knowing when JComboBox's data has changed
Help on Tooltip
component creation in JSF
Authorization in JSF based on permission of a component