Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

h:dataTable and rich:toolTip

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic