[Seaside] How to reset back to a starting state?
philippe.marschall at gmail.com
Thu May 22 19:54:05 UTC 2008
2008/5/21, Tim M <365nice at gmail.com>:
> 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.
More information about the seaside