Hi...
I bound the tree2 to an HtmTree and it works.
I got a new Problem:
When I leaved the application and loged-on again, the tree2 was shown,
like how I leaved it (it was still expanded).
I set the HtmlTree = new HtmlTree(). And it was Ok...
thanks for help...
naba
NABA schrieb:
Thanks Andrew...
I will try it. I don't know how component binding works... but it is a
reason to deal with it.
I will write how it works..
naba
Andrew Robinson schrieb:
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