0 Replies Latest reply on Sep 10, 2010 3:45 PM by J Miller

    Nesting a rich:toolTip inside an outputText

    J Miller Newbie

      I'm trying to set up a rich:toolTip on an <h:outputText> tag.  I was having trouble nesting a toolTip inside of a  panel header yesterday, but got that figured out.  Is there anything that prevents tooltips from showing up?  For something as simple as a toolTip, I'm having a lot of difficulty with it.  A simplified version of what I have is basically:

       

       

       

      <h:panelGrid columns="2">

           <h:outputText value="Customer: " />

           <h:outputText value="#{customer.name}">

                <rich:toolTip showEvent="onclick" direction="top-right" showEvent="onclick"

                     verticalOffset="1" horizontalOffset="1">

                     <h:outputText value="This is my tooltip" />

                </rich:toolTip>

           </h:outputText>

      </h:panelGrid>

       

       

       

      I fixed it the last time by putting an ID on the header, and a for on the toolTip, but this one will be running through a loop so if I do that, it will duplicate ID's and break.

       

      Any ideas?