0 Replies Latest reply on Nov 19, 2007 8:54 PM by Vijaykumar Natarajan

    Unable to get rich:tree working with ajaxian tooltip.

    Vijaykumar Natarajan Newbie

      My view code is below:

      Debugging this, clearly my server is unable to figure out what "item" is when it receives the ajax request.

      But I am unable to figure out how to make that happen.

      Any help wold be greatly appreciated.


      <rich:tree showConnectingLines="false" switchType="client"
      style="width:100px" iconLeaf="/images/tree/disc.gif"
      <rich:recursiveTreeNodesAdaptor roots="#{categoryBean.roots}"
      var="item" nodes="#{item.nodes}">
      <h:outputText value="#{item.name}"/>
      <rich:toolTip followMouse="true" mode="ajax" >
      <f:facet name="defaultContent">
      Waiting for details of #{item.name} ... <!-- works -->
      <h:panelGrid columns="2">
      <h:outputText value="#{item.name}" /> <!-- doesn't work -->
      <h:outputText value="#{item.description}" /> <!-- doesn't work -->
      <h:outputText value="#{categoryBean.static}" /> <!-- works -->
      <h:outputText value="more static text" /> <!-- works -->