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

    Unable to get rich:tree working with ajaxian tooltip.

    gentwo

      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.

      Thanks
      Vijay


      <ui:composition>
      <h:form>
      <rich:tree showConnectingLines="false" switchType="client"
      style="width:100px" iconLeaf="/images/tree/disc.gif"
      icon="/images/tree/singer.gif">
      <rich:recursiveTreeNodesAdaptor roots="#{categoryBean.roots}"
      var="item" nodes="#{item.nodes}">
      <rich:treeNode>
      <h:outputText value="#{item.name}"/>
      <rich:toolTip followMouse="true" mode="ajax" >
      <f:facet name="defaultContent">
      Waiting for details of #{item.name} ... <!-- works -->
      </f:facet>
      Testing...
      <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 -->
      </h:panelGrid>
      </rich:toolTip>
      </rich:treeNode>
      </rich:recursiveTreeNodesAdaptor>
      </rich:tree>
      </h:form>
      </ui:composition>