myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <>
Subject Re: Tree2
Date Mon, 08 Jan 2007 19:43:21 GMT
The easiest thing is probably a custom tree state object that only has
one expanded path ever stored in it, and when someone expands the
path, it simply overwrites the currently expanded path with the new
one. The renderer always checks the state to determine which to

See the tree state API/source for more information


On 1/8/07, djmacpac <> wrote:
> Hi,
> I'm using a Tree2 and it works fine. But now I want that, when I'm changing
> the directory in the tree, the actual opened tree should be closed and only
> the clicked tree should be opened. normally all tree stay opened. hope you
> understand what i want to do.
> for example:
> I ' m browsing up to following path: 0:1:2:3
> Now I clck another directory: 0:2
> Now the Tree 0:1:2:3 should be closed and only the 0:2 should be opened...
> Can anybody help me?
> --
> View this message in context:
> Sent from the MyFaces - Users mailing list archive at

View raw message