Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Tree menu pro not always keeping its state
cmcginnis
Junior Member

Posts: 6
Registered: 8/3/2006
Member Is Offline
posted on 8/22/2006 at 04:34 PM Reply With Quote
Tree menu pro not always keeping its state


Hi All-

I currently have a web application that uses the Tigra Menu pro and it is NOT using frames. I'm having issues with the menu retaining state from click to click. Sometimes it works fine and others the menu renders itself in an older state.

I currently generate the tree_items array dynamically and store the string in the user's session which the jsp retrieves to build the menu when a page loads.

For example, if I have a folder open (A) which contains three children folders (1,2,3) and I open folder 1 and click on a link, then open folder 2 and click on a link - folder 1 is all of a sudden closed. Then if I open folder 3 and click on a link all three folders are open.

Again this is happening randomly and the menu will work fine for awhile, but then every once in awhile it'll freak out.

Thanks,
cmcginnis
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/22/2006 at 11:18 PM Reply With Quote

If the structure of the tree changes between the page loads the state information stored in the cookies may be applied to wrong items. In this case you may need to track the state information with your server side script.
View User's Profile View All Posts By User U2U Member
cmcginnis
Junior Member

Posts: 6
Registered: 8/3/2006
Member Is Offline
posted on 8/23/2006 at 04:02 PM Reply With Quote
Tree items array is not changing


The Javascript array that is built is created once and put into session as a String. Whenever the page loads, it pulls this String out of the session and rebuilds the menu. So the Javascript array actually stays the same from page to page.

Again, it will work fine for a few clicks then randomly I'll see a portion of the menu close itself.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/23/2006 at 04:07 PM Reply With Quote

Are all the pages in the same directory. Default setting is to have separate cookie for each individual directory.
View User's Profile View All Posts By User U2U Member
cmcginnis
Junior Member

Posts: 6
Registered: 8/3/2006
Member Is Offline
posted on 8/24/2006 at 12:24 PM Reply With Quote

The pages are in different directories. Is there anyway I can change the default settings?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/24/2006 at 12:29 PM Reply With Quote

http://www.softcomplex.com/forum/viewthread_2893/
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   
Tigra Tree Menu PRO
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004