[Seaside] Having problems with states

Norbert Hartl norbert at hartl.name
Sat May 23 06:59:02 UTC 2009


Hi,

yesterday I discovered some trouble using states. I have
a component that implements

states
   ^ Array with: self

And this components has a few instance variables that need
to be backtracked. 

The first action that I do sets the model of this component.
On the next action the model is set to something different.
If I use the back button the reach the first point and click 
a link that displays the component again the model from the 
second step is set in the component.

Do I need to do more than implementing states? How can I
myself check if it is working correctly?

thanks,

Norbert



More information about the seaside mailing list