2 Replies Latest reply on May 10, 2008 10:41 AM by Bjoern Eickvonder

    treeNodeVar expanding/collapsing node

    Bjoern Eickvonder Newbie

      Hi,

      I use RF 3.2.0SR1 and the tree in ajax mode and just wanted to try the treeNodeVar as follows:

      <rich:tree
      adviseNodeOpened="#{treeController.nodeOpenedAdvise}"
      adviseNodeSelected="#{treeController.nodeSelectedAdvise}"
      nodeSelectListener="#{treeController.selectNode}"
      changeExpandListener="#{treeController.expandNode}"
      value="#{treeController.root}" treeNodeVar="node" var="item"
      rowKeyVar="rowkey" nodeFace="#{item.typ}">
      <rich:treeNode type="1">
      <h:outputText value="#{node}" />
      </rich:treeNode>
      </rich:tree>

      At first for all visible/expanded nodes the node is printed out (via toString call). But whenever the user collapses/expands nodes nothing is printed out for those nodes, thus the treenode is not in request scope for the nodes being rerendered.
      Is this a bug, is it maybe fixed in 3.2.1?