You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Ryan Wynn <bi...@gmail.com> on 2005/11/29 19:06:00 UTC
Tree2 preserveToggle and server side
I hava a tree2 component with server side state saving and
preserveToggle = true. When the view that contains the tree is left
and returned to the tree does not retain expanded state but returns to
a collapsed tree. Any ideas what I could be doing wrong? Is this
expanded state management supported in server mode? I am using
myfaces 1.1.1.
Thanks,
Ryan
Re: Tree2 preserveToggle and server side
Posted by Ryan Wynn <bi...@gmail.com>.
On 11/30/05, mathias.werlitz@daimlerchrysler.com
<ma...@daimlerchrysler.com> wrote:
>
> Currently preserveToggle only works with client-side toggle. If you want to
> keep the state in server-side toggle, provide a session scoped TreeModel
> instead of a TreeNode as the model.
Thanks, I switched from TreeNode to TreeModel and that worked.
Antwort: Tree2 preserveToggle and server side
Posted by ma...@daimlerchrysler.com.
Currently preserveToggle only works with client-side toggle. If you want
to keep the state in server-side toggle, provide a session scoped
TreeModel instead of a TreeNode as the model.