View Full Version : Porting from 2.x to 3.0: State Saving Not Working

6 May 2009, 7:14 AM
I'm migrating an app from Ext 2.x to 3.0, and everything seems to work pretty well with a few minor fixes. One thing I noticed that seems to have stopped working, however, is state saving. It works fine under 2.x, but in 3.0, nothing is being saved. If I resize panels in my BorderLayout Viewport, then refresh the page, they go back to their default sizes.

Has anyone else experienced this issue, and if not, am I missing something that has changed in 3.0?


6 May 2009, 7:27 AM
Have you tried wiping out the old cookies and verifying that they are rewritten in 3.0?

6 May 2009, 7:29 AM
That was one of the first things I tried. I just tried it again to make sure, and still no avail. I'm wondering if something was changed in Ext 3.0, like perhaps the 'width' config option takes precedence over saved state or something along those lines... All of my panels have configured widths. I'll go down that road and report my findings...

6 May 2009, 7:37 AM
Alright, its fixed up now. Before, we hadn't specified stateful: true and everything saved state by default. I've added the stateful config option and it seems to work.