The problem is that even when the page is loaded, the getRoots() method gets called twice. And when I start expanding nodes, there are even more calls to getRoots() and getChildren(). The tree does display ok, but there is a lot of redundant function calls. Has anyone experienced this?
Another question would be wether on a node expansion (with ajax toggle), the tree just calls getChildren() for the node in question, or does it do that for a larger portion of that tree ?