I don't know the specifics of your example, but my first instinct would
be that you need to use <t:saveState> to save the state of the tree
between requests.

- Brendan

-----Original Message-----
From: Huy Do [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 5:17 AM
To: [email protected]
Subject: Tree2 and state saving


Hallo,

i'm new to JSF and just wrote some code snippets
using the tree2 component.

My problem is that the state of the treemodel (especially
which node are expanded) is not passed through
several requests.

For example:
I include the tree in welcome.jsp and in view.jsp
but if i change the the view via an action to
view.jsp i lost the state of the tree.
All nodes are collapsed again.

Can somebody give me a hint.
I don't want to user frames to solve this problem :-(

BTW: can i download the source code of the (tomahawk) examples anywhere?

Thanks a lot.


-- 
Best regards,
 Huy                          mailto:[EMAIL PROTECTED]

Reply via email to