Two Laptop Bag*
The moose likes JSF and the fly likes h:dataTable and rich:toolTip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "h:dataTable and rich:toolTip" Watch "h:dataTable and rich:toolTip" New topic
Author

h:dataTable and rich:toolTip

Anthony Sykes
Ranch Hand

Joined: Aug 25, 2007
Posts: 57
Here is the scenario: I have a dataTable and I need a toolTip to appear when someone mouses over an entry in a column. I looked at the examples and it seems as if they are preloading the tooltip as the dataTable is generated. I would like the load to occur when the user upon mouseover. I could be wrong, is this preloading? If I am not wrong, could someone provide examples on how to pull the tooltip from the database on column mouseover?
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Not sure what the functional requirement is, but you could also just make use of the HTML 'title' attribute which is supported by every JSF HTML component. E.g.
Anthony Sykes
Ranch Hand

Joined: Aug 25, 2007
Posts: 57
It needs to display nine different items. Also, I need to pull this information from the database due to database architecture. It seems like they would have allowed for this scenario. This is an ajax-based component.

Bauke Scholtz wrote:Not sure what the functional requirement is, but you could also just make use of the HTML 'title' attribute which is supported by every JSF HTML component. E.g.
Anthony Sykes
Ranch Hand

Joined: Aug 25, 2007
Posts: 57
I need to use the tooltip in the following manner, would this be poossible? Basically I want another bean to lazy initialize the alternateBean's object when the mouseover occurs.

S Majumder
Ranch Hand

Joined: Jun 03, 2009
Posts: 244
Hi every body ,

i have a question , I am using <rich:toolTip> .I have created 4 radio buttons by <h:selectManyCheckbox> & taking data by <f:selectItems> tags.

Is there any possibility to take <rich:toolTip> under <f:selectItems> ?

Here is my jsf code :


Can I take <rich:toolTip > dynamically same as I am taking <f:selectItems> ?

please help.

Thanks,
S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: h:dataTable and rich:toolTip
 
Similar Threads
preloading images
Preloading form:select
preloading message
Preloading images ??
Robust Image Preloading - on the fly