1 Reply Latest reply on May 11, 2010 5:19 AM by Ilya Shaikovsky

    rich:tree not refreshing nodes when order changes

    Juan Ignacio Garzon Newbie

      Hi,

       

      I have a <rich:tree> with nodes that can be reordered. I achieved this using a SortedSet as the "roots" of my node adaptor that uses a Comparator  based on a "order" field in the elements. I have two buttons, for incrementing / decrementing the order of the selected element.

       

      The problem I have is that even re-rendering the entire tree (I also tryied to re-render the parent of the nodes beeing reordered) does not show the changes (no nodes are reordered). However, if I click a node that has been reordered, then the name changes to the correct one (only that node).

       

      Thanks in advance for your time!

       

      Juan Ignacio