File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Rich Faces Tree working too slow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Rich Faces Tree working too slow" Watch "Rich Faces Tree working too slow" New topic
Author

Rich Faces Tree working too slow

Alex Drukov
Greenhorn

Joined: Feb 13, 2009
Posts: 2
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

Joined: Jun 25, 2001
Posts: 16308
    
  22

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: Rich Faces Tree working too slow