1 Reply Latest reply on Jul 26, 2009 3:26 PM by meghiddo

    very fast question about why one treeNode isnt displaying

      Here is the very simple tree:

      <rich:tree>
       <rich:treeNodesAdaptor nodes="#{treeBean.projects}" var="projects">
       <rich:treeNode>
       <h:outputText value="#{projects.projectId}" />
       </rich:treeNode>
       <rich:treeNodesAdaptor>
       <rich:treeNode>
       <h:outputText value="#{projects.name}" />
       </rich:treeNode>
       </rich:treeNodesAdaptor>
       </rich:treeNodesAdaptor>
       </rich:tree>


      In the first treeNodesAdaptor you see {treeBean.projects}" var="projects"

      projects is a list of Objects. The top node projects.projectId will display, but when I add the inner treeNodesAdaptor and try to set it to projects.name it does not display this next set of nodes, still just the initial projectId nodes.

      Do I need to put something into that inner treeNodesAdaptor tag or is there something else I am leaving out?