Hi,

I would like to store the last state of my AjaxTree to recreate it with the same collapsed/expanded nodes as before. I've overwritten the setExpanded method of the AjaxTreeModel class to store all expanded tree nodes in a session. When the page is reloaded, I want to expand the nodes from the session. Is there any method which I have to call to force AjaxTree to "reload" and to display the expanded nodes? I tried expanding the nodes programatically in the constructor of the AjaxTreeModel, but this didn't force the tree to show the open nodes. Setting "allExpanded = true" for the AjaxTree opens all the nodes to open automatically. What am I doing wrong if I want to open just a few nodes automatically?

Regards,
Helmut



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to