7 Replies Latest reply on May 30, 2012 5:51 AM by Jan Papousek

    RF 4: rich:tooltip not working on h:inputText?

    Karsten Wutzke Expert



      I have the following code:


        <h:panelGroup id="tendering-document-panel">

          <h:inputText value="#{tendering.fileName}"




            <rich:tooltip value="#{pqManager.tenderingDocumentFileSize} KB" direction="bottomRight" rendered="#{not empty tendering.fileName}" />


          <h:outputText value=" " />

          <ui:include src="/subviews/preview-link.xhtml">




      When I put the rich:tooltip outside the inputText but inside the panelGroup the tooltip is shown on hovering the inputText, but it creates ugly artifacts for subsequent components. It's supposed to be displayed only above the inputText.


      I tried wrapping the h:inputText into a4j:outputPanel (no attributes), but that didn't work either.


      What's wrong? How do you fix this?