[Seaside] Navigating away from call:'s

Lukas Renggli 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
#answer:.

- 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
(called components).

As far as I remember both techniques are used in SqueakSource.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list