1 Reply Latest reply on May 20, 2008 4:04 AM by blabno

    TreeNode selection causes ERROR [STDERR] TreeRendererBase.en

    blabno

      I have rich:tree on my facelet. I can select only one node. When I click on other node then nothing happens. In log I found this :

      ERROR STDERR - TreeRendererBase.encodeAjaxChildren()[1]

      However when i modify the tree model i.e. add child node then I can select other node, but still only once, and then nothing else.
      Any ideas what is wrong ?
      <h:form>
       <a4j:outputPanel id="trees">
       <a4j:status startText="Request in progress..." stopText="Request finished"/>
       <rich:tree value="#{systemRoot}" var="item" switchType="ajax"
       nodeSelectListener="#{categoryManager.processSelection}"
       ajaxSubmitSelection="true">
       <rich:treeNode>#{item.name}</rich:treeNode>
       </rich:tree>
       </a4j:outputPanel>
       <h:inputText value="#{categoryName}"/>
       <a4j:commandButton value="#{messages.add}" action="addCategory" reRender="trees"/>
       </h:form>