File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Rich Faces Tree working too slow

Alex Drukov

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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Rich Faces Tree working too slow
It's not a secret anymore!