wood burning stoves
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
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: 3479

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: 17276

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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link: http://aspose.com/file-tools
subject: How many components do I need?
It's not a secret anymore!