0 Replies Latest reply on Jan 10, 2008 12:09 PM by naql

    Examples of what, TreeStateAdvisor?

    naql

      Hi,

      I'm using a rich:tree tag to display a tree. My problem is that I don't like the way the tree collapses every time the component is re-rendered. What I want to do is to preserve the appearance of the tree, specifically, which nodes are opened and closed. Preserving node selection would be gravy, but keeping the tree nodes open is my primary goal.

      I am guessing that if I implemented a TreeStateAdvisor and pointed my tag to it using the "stateAdvisor" attribute that this may be helpful. But, I'm just guessing. Can anyone direct me to some examples solving this type of problem or to some more advanced uses of the UITree class/TreeState/TreeStateAdvisor?

      Thanks.

      -- naql