Put the tree state in the session scope. Use component binding or the tree model to re-load the old state when the tree component is built
-A On 10/5/07, NABA <[EMAIL PROTECTED]> wrote: > Hi All... > I use: > Myfaces 1..1.5 > Tomahawk 1.6 > ajax4jsf 1.1.1 > > Problem: > When you expand the tree and navigate to an other page and com back, the > tree is collapsed. And you can not see, which tree-node is selected. > the scope of the bean which manage this page is session. > > Structure: > page1: <t:tree2> and <t:dataTable> > the tree2 is concluded in <a4j:outputpanel> > and the <t:dataTable concluded in <a4j: region> > when you click the tree, the datatable will bee updated! > All this works fine. > > But how can I let the tree be expanded?? > > thanks for any help.. > naba >

