Hi,

What is the definitive way to collapse tree nodes programatically from your
backing bean?

I have a UITree object in my bean:

...
..
...
treeUI = new UITreeData();
treeUI.setValue( treeData.getRootNode());


And in my action method:

public void collapseAllAction(ActionEvent event){
      treeUI.collapseAll();
      }

But this does not work.

I have also tried collapsing  via the TreeState object but  that does not
work either?
Is there any sample code on how to do this?

Thanks

Sawan

Reply via email to