1 Reply Latest reply on Feb 6, 2009 12:44 PM by nbelaevski

    tooltip in

    ronanker

      with JSP and RC 3.3.0

      With the following code, the tooltip does appear only when the panelbar item is closed but not when it is opened:

      <rich:panelBarItem >
       <f:facet name="label">
       <h:panelGroup id="panelBarItemTitle">
       <h:outputText value="label"/>
       <rich:toolTip >
       <h:outputText value="tooltip content"/>
       </rich:toolTip>
       </h:panelGroup>
       </f:facet>
       <h:outputText value="panel bar item content"/>
      </rich:panelBarItem>



      Furthermore, if the "panelBarItemTitle" is rerendered the displayed title is right when closed but if the panel bar item is opened, this is the old value (before rerendering) that is displayed.

      It seems there is 2 divs for panel bar item header for the both mode 'opened' and 'closed'.
      Unfortunately, this leads to 2 DOM node with the id="panelBarItemTitle", one on each div.
      I guess the ajax request replace only one node on the rerender...

      It seems like a bad implementation of the panel bar item...