3 Replies Latest reply on Oct 8, 2010 10:37 AM by Ilya Shaikovsky

    Nested Tooltips not working

    J Miller Newbie

      I'm having a problem with the <rich:toolTip> component.  If I use it in this way it works:


      ...
      <h:outputText value="Name: " id="nameId">
           <rich:toolTip showEvent="onmouseover" for="nameId">
                <span> This is my tooltip </span>
           </rich:toolTip>
      </h:outputText>
      ...

      ...

      <h:outputText value="Name: " id="nameId">

           <rich:toolTip showEvent="onmouseover" for="nameId">

                <span> This is my tooltip </span>

           </rich:toolTip>

      </h:outputText>

      ...


      But if I simply nest it without using the "for" and "id" parameters like shown below it doesn't work.


      ...

      <h:outputText value="Name: ">

           <rich:toolTip showEvent="onmouseover">

                <span> This is my tooltip </span>

           </rich:toolTip>

      </h:outputText>

      ...


      We are using RichFaces pretty heavily, and this is the only component that doesn't seem to be working. 


      Any ideas?