Skip to Content
0
Former Member
Oct 24, 2005 at 05:36 PM

Stateful Applications and DO_INIT

19 Views

Hi pro's,

I'am using a tabstrip item to have a sub-navigation in my stateful bsp. my controller-class

is saving the current tab that the user is currently working on and any tab change is stored via event in the controller instance.

In the DO_INIT method of the controller I initialize the tabstrip items of all of my different views to tab no.1 to have a valid start value for every view.

That worked well for a while but now it seems to be that the DO_INIT method is called when events are fired altough the application is stateful and an active object of the controller class is already existing...

this is resulting in resetting the current-tab variable to #1 while in the application... not that nice...

Can anyone help?

Thank you.