Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

h:dataTable and rich:toolTip

 
Anthony Sykes
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic