File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rich Faces Tree working too slow

 
Alex Drukov
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hellow everyone.
I'm using rich faces tree which has more then 1000 nodes. when I try to work with it (expand, select node etc.) my browser starts working too slow.
I've tried to use ajax or client switch modes for the tree, but it didn't help.
Is there any way to solve this problem?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17620
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using FireFox, you might consider firing up some tools like FireBug and ySlow to see what's going on between client and server. I had a tree that when working in server mode would constantly dump 3MB down to the client, and that was unacceptable even on a LAN. But AJAX mode fixed that.

One thing that might make a difference is the depth vs. breadth of a tree, since the broader a level that's requested, the more nodes even an AJAX request has to send.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic