Board Logo

Multiple trees remembering states individually
Ari - 8/12/2004 at 06:25 AM


I have multiple trees in my web application. Each tree should remember it's state (between page refreshes) individually. I thought this could be done

1. With tree name:
-new tree (TREE_ITEMS, TREE_TPL,'MyTree1');
-new tree (TREE_ITEMS, TREE_TPL,'MyTree2');

2. By defining different tree items for each tree:
-new tree (TREE_ITEMS1, TREE_TPL);
-new tree (TREE_ITEMS2, TREE_TPL);

3. Some tree instance scope setting like cookie_ext...

But none of these methods do not seem to work.
Am I missing something, or is this possible at all?

tigra - 8/12/2004 at 06:07 PM

I can't reproduce the problem. At:

I open nodes in both trees independently then reload the page and the state is reloaded just fine. Same behaviour is with files in the distribution package.

Ari - 8/13/2004 at 09:41 AM

Yeah, it seems that I was experiencing problems because I had received an old version (1.1) of the Tigra Tree Menu Pro.

Version 1.2 fixed all my issues.

Back to forum: