You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Andrew Swift <as...@gmail.com> on 2006/07/27 12:42:50 UTC

Collapsing a Tree table

Does anyone know how to collapse a <t:tree> programmatically?

I am getting an IndexOutOfBoundsException when I try to change the tree
model while the tree is still expanded.


If I collapse the tree by selecting the root node before changing the model
it all works perfectly.

cheers
Andrew.

Fwd: Collapsing a Tree table

Posted by Andrew Swift <as...@gmail.com>.
Can anybody help?

---------- Forwarded message ----------
From: Andrew Swift <as...@gmail.com>
Date: 27-Jul-2006 11:42
Subject: Collapsing a Tree table
To: users@myfaces.apache.org

Does anyone know how to collapse a <t:tree> programmatically?

I am getting an IndexOutOfBoundsException when I try to change the tree
model while the tree is still expanded.


If I collapse the tree by selecting the root node before changing the model
it all works perfectly.

cheers
Andrew.