I added it to JIRA. On thinking about the problem a
little more and going through the HtmlTreeRenderer
code, the flag would fix the client-side toggle
problem but not the server-side toggle.

The expand state gets stored in _expandedNodes and
this is kept updated throughout the session.

--- Sean Schofield <[EMAIL PROTECTED]> wrote:
> Eric,
> 
> I saw your post on this yesterday but did not have
> time to apply.  I
> am busy trying to get the release "officially" over
> with.  Its a good
> idea though.  I remember thinking about this problem
> at one point and
> thought about a preserveDataModel attribute (like in
> x:dataTable)  But
> your idea of being able to turn it off completely is
> not a bad idea
> also.  Go ahead and add to JIRA.  If you get time
> work up a patch
> otherwise I will do one myself when I get a chance.
> 
> sean
> 
> 
> On 4/15/05, Eric Hsieh <[EMAIL PROTECTED]> wrote:
> > In tree2, is there any way to remove the
> > expand/collapse state of a tree from the cookie? 
> I
> > saw that the state is being saved everytime a
> click is
> > done (with treeNavClick() in tree.js).  Because of
> a
> > dynamic tree being rendered, the tree on the next
> > request may not be the same as the previous one.
> Thus,
> > the expand/collapse state in the cookie won't
> apply.
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to