2 Replies Latest reply on Nov 10, 2011 11:06 AM by Edilmar Alves

    RF4: does rich:tooltip work only with rich:panel?

    Edilmar Alves Expert

      Hi,

       

      I tried to use rich:tooltip with other components, but only with rich:panel (like RF4 Showcase) that worked:

       

        <h:form id="form">
          <h:outputText value="Label">
            <rich:tooltip id="ttl">TESTE LABEL</rich:tooltip>                
          </h:outputText>
          <h:inputText value="texto">
            <rich:tooltip id="ttt">TESTE TEXTO</rich:tooltip>
          </h:inputText>
          <h:graphicImage url="/imagens/seta.gif" title="">
            <rich:tooltip id="ttg">TESTE GRAPHIC</rich:tooltip>
          </h:graphicImage>
          <rich:panel>
            <rich:tooltip id="ttp">TESTE PANEL</rich:tooltip>
          </rich:panel>
        </h:form>

      The strange is that Showcase has the following message: "The rich:tooltip component creates a small non-modal pop-up that can be used to display additional information for nearly anything on the page."