aspose file tools
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 The Software Craftsman this week in the Agile 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: 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: 17260

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
Have you tried LearnNowOnline?
subject: How many components do I need?