[Seaside] Navigating away from call:'s
renggli at gmail.com
Thu Feb 21 20:03:26 UTC 2008
> I've been browsing some Seaside examples (Squeak Source, this time)
> and I noticed a pattern where a call: is made replacing the current
> component with no expectation of return. For example, when navigating
> to the home page, the home component is called but it will never
> return to whatever component it's replacing. At least, that's what
> happening if I'm reading the code correctly. Is that the common way to
> handle such situations?
There are several ways to remove a called component other than sending
- If you remove the calling component from the composition, all called
components disappear as well.
- Sending the message #home to a component, removes all delegates
As far as I remember both techniques are used in SqueakSource.
More information about the seaside