2 Replies Latest reply on Jun 22, 2009 9:45 AM by Ilya Shaikovsky

    RichFaces Tree Performance

    Geoffrey Longo Newbie

      I am using the rich:tree component to display a tree to the users. The requirement is to allow the user to reorder the nodes by using drag and drop. This seems to be working correctly, but when the number of nodes approaches ~100, the performance seems to degrade to the point that it takes around 3 seconds before the tree is updated. My onNodeDrop method in my backing bean is finishing quickly (0ms), yet there is still a significant delay until the nodes are rerendered. Does anybody have any tips on ways to optimize this? I tried to use ajaxSingle="true" on my tree, but then when I drop a node, my onNodeDrop method in my backing bean is never called. Any ideas would be greatly appreciated.