1 Reply Latest reply on Jan 28, 2008 7:39 AM by Oliver Thomsen

    <rich:tree> broken in 3.1.4-SNAPSHOT?

    Oliver Thomsen Newbie

      Hi everybody,

      <rich:tree> is not working in my application after updating to 3.1.4-SNAPSHOT!
      The tree is acting really weird and expanding, collapsing or selecting nodes is like a kind of random game...

      Here's my tree:

      <rich:tree id="richtree"
       switchType="ajax" ajaxSingle="true"
       ajaxSubmitSelection="false"
       binding="#{frameController.richTree}"
       componentState="#{frameController.richTreeState}"
       showConnectingLines="false" toggleOnClick="true"
       value="#{frameController.ibpMenu}" var="node"
       nodeFace="#{node.type}">
       <rich:treeNode type="submenu"
       iconCollapsed="/images/tree/expand.gif"
       iconExpanded="/images/tree/collapse.gif">
       <h:outputText value="#{node.text}"
       title="#{node.text}"></h:outputText>
       </rich:treeNode>
       <rich:treeNode type="legacy"
       iconLeaf="/images/tree/field.gif">
       <a4j:commandLink action="#{frameController.nodeAction}"
       value="#{node.text}" title="#{node.text}">
       </a4j:commandLink>
       </rich:treeNode>
       <rich:treeNode type="call"
       iconLeaf="/images/tree/document.png">
       <a4j:commandLink action="#{frameController.nodeAction}"
       value="#{node.text}" title="#{node.text}">
       </a4j:commandLink>
       </rich:treeNode>
       <rich:treeNode type="batch"
       iconLeaf="/images/common/calendar.gif">
       <a4j:commandLink action="#{frameController.nodeAction}"
       value="#{node.text}" title="#{node.text}">
       </a4j:commandLink>
       </rich:treeNode>
       <rich:treeNode type="jsf"
       iconLeaf="/images/tree/webpage_obj.gif">
       <a4j:commandLink action="#{frameController.nodeAction}"
       value="#{node.text}" title="#{node.text}">
       </a4j:commandLink>
       </rich:treeNode>
      </rich:tree>
      

      The tree-model is based on a simple implementation of org.richfaces.model.TreeNode and does nothing special.

      I'm using facelets, JSF 1.2_07, WAS 6.1.

      Thanks in advance, Oliver.