0 Replies Latest reply on Jan 7, 2011 9:05 AM by chinesebox

    rich:tree dropListener executing after page reload

    chinesebox Newbie

      Hello

       

      My problem is that when i use dropListener i want to show changes in tree structure that have been made after drag/drop operation.

       

      For me expected and logic behaviour would be:

      1.    I drag/drop node

      2.    dropListener fire my processDrop method

      3.    tree are rerender

       

      What realy happens:

      1.    I drag/drop node

      2.    tree are rerendered

      3.    dropListener fire my processDrop method

      (so i dont see changes that have been made)

       

      and here are my code for tree:

       

      <rich:tree switchType="client" dragIndicator="dragIndicator"
          ajaxSubmitSelection="false"
          rightClickSelection="true"
          dropListener="#{RecursiveTreeNodesAdaptor.processDrop}"            
          nodeSelectListener="#{RecursiveTreeNodesAdaptor.processSelection}">
      

       

      What have i missed?