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 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How many components do I need?" Watch "How many components do I need?" New topic
Author

How many components do I need?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Hi.
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)
Thanks.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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.

Mark


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