3 Replies Latest reply on Sep 10, 2010 4:05 AM by Ilya Shaikovsky

    Using rich:toolTip in Panel Header

    J Miller Newbie

      I'm having some troubling using a rich:toolTip inside of a panel header.  Using the code below:

       

      <rich:panel>
           <f:facet name="header">
                <h:outputText value="Details for #{user.name} />
                <rich:toolTip>
                     <h:outputLink target="_blank" value="">
                          <h:outputText value="Show this user info" />
                     </h:outputLink>
                </rich:toolTip>         
           </f:facet>

       

      Blah Blah


      </rich:panel>

       

      Ideally, I want the tooltip to only show up when you hover over the header text itself.

       

      If I use the code as shown, then the header facet collapses and the tooltip shows up when you hover anywhere on the entire panel. 

       

      If I remove the rich:toolTip and the code inside it, the header shows up fine.

       

      When I add an ending tag to the outputText tag, and put the rich:toolTip inside of that, the header shows up fine, but there is no tooltip anywhere.

       

      Anyone have any ideas?  Thanks