4 Replies Latest reply on Jun 25, 2007 2:50 PM by Dustin Norlander

    Tree: ajax expand + form submit select doesn't work with new

    Dustin Norlander Apprentice

      Hello,

      I have a tree where the nodes are expanded using ajax, but the nodeSelectListener triggers a form submit. it seems that it no longer works after upgrading. The form gets submitted but the onSelect is never called.

      This is how I am doing it:

      <h:form id="watchGroupTree">
       <rich:tree value="#{watchGroupModule.tree.root}" var="item"
       nodeFace="#{item.type}" switchType="ajax" styleClass="nav-tree"
       nodeSelectListener="#{watchGroupModule.onSelect}"
       ajaxSubmitSelection="false"
       onselected="document.forms['watchGroupTree'].submit();">
      
      


      Any help?

      Thanks,
      Dustin