4 Replies Latest reply on Jan 15, 2010 7:30 AM by Abhishek N

    Single rich:toolTip for multiple components [question]

    Abhishek N Newbie



      Can I use a single rich:toolTip for mutiple rich:columns.


      Consider this case, a table has 200 students as rows and their marks in 15 subjects [columns].

      student name is the first column. remaining columns are subjects.


      If I point my mouse on some cell in the middle I want to show Student name and Subject for the cell.

      Attaching a rich:toolTip to wach column is easy. But I want to know whether this kind of code is possible


      <rich:column onmouseover="callJavaScriptToShowToolTip('studentObject.name','studentObject.Subject')">




      function callJavaScriptToShowToolTip(name,subject){

            set rich tooltip value