2 Replies Latest reply on Aug 28, 2008 10:10 AM by Sebastian Gehring

    rich:tree and a4j:support not working

    Sebastian Gehring Newbie

      Hi everybody,

      can somebody tell me why this combination does not work?

      <rich:tree id="tree"
      eventsQueue="myQueue"
      nodeSelectListener="#{sessionBean.processSelection}"
      ajaxSubmitSelection="false"
      switchType="ajax"
      value="#{sessionBean.rootNode}"
      toggleOnClick="true"
      showConnectingLines="false"
      componentState="#{sessionBean.treeState}"
      styleClass="tree"
      binding="#{sessionBean.navigationTree}"
      style="border: 0px solid black;">
       <a4j:support event="oncomplete" action="#{sessionBean.returnToMain}" eventsQueue="myQueue"/>
      </rich:tree>
      


      After clicking on link in the tree, I would expect that the method "returnToMain" is called. But this is not the case. If I change ajaxSubmitSelection to true, then my method is called as I expected. But why isn't it called with ajaxSubmitSelection = false?