It is a session scoped bean
-----Original Message-----
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Montag, 7. April 2008 15:14
To: MyFaces Discussion
Subject: Re: [tomahawk] clientside tree2 collapsed
is your tree model in a session bean, or a request bean? The state is
stored in the model, not the tree
On 4/7/08, Michael Heinen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
>
>
> I have a question regarding good old tree2.
>
> Problem is that If I open some nodes on clientside and rerender the
area
> with the t:tree2 tag (with or without ajax) then all nodes are
collapsed
> again!
>
>
>
> <t:tree2 id="treeATItems"
>
> value="#{MyBean.treeModel}"
>
> clientSideToggle="true"
>
> showLines="true"
>
> showNav="true"
>
> imageLocation="/images/tree2"
>
> javascriptLocation="/js/tree2"
>
> showRootNode="false"
>
> preserveToggle="true">
>
>
>
> I found following cookie in my request:
>
> treeATItems=0%3A6%3Dx%3B0%3A6%3A0%3Dx
>
>
>
> I found a similar post in this list:
>
> http://marc.info/?l=myfaces-user&m=117263662631906&w=2
>
>
>
> Any idea?
>
>
>
> I use:
>
> tomahawk 1.1.5
>
> myFaces 1.1.5
>
> richfaces 3.1.4
>
>
>
> Michael
>
>