How to reset back to a starting state?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to reset back to a starting state?

Tim M
Hi I am starting to get into Seaside, and have been messing around using
the Seaside Tutorial ToDo exmaple.

I am not sure if there is an easy way to get back to an initial state as
I have ended up with a User with a nil task and so I get walkbalks due to
the way things are lazily loaded.

Is there an easy way to implement a rest everything? I guess I can go into
my image and reset my in memory database - but this got me thinking about
the lifecycle of objects in Seaside. Is there something I can implement so
I can push a button and reinitialize?

Tim



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to reset back to a starting state?

Philippe Marschall
2008/5/21, Tim M <[hidden email]>:

> Hi I am starting to get into Seaside, and have been messing around using the
> Seaside Tutorial ToDo exmaple.
>
>  I am not sure if there is an easy way to get back to an initial state as I
> have ended up with a User with a nil task and so I get walkbalks due to the
> way things are lazily loaded.
>
>  Is there an easy way to implement a rest everything? I guess I can go into
> my image and reset my in memory database - but this got me thinking about
> the lifecycle of objects in Seaside. Is there something I can implement so I
> can push a button and reinitialize?

You can push "new session" in the toolbar but that will clear but only
the session state. Anything else is outside the scope of Seaside.

Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside