[Seaside] How to do the ubiquitous home button?

Avi Bryant avi at beta4.com
Sat Aug 16 11:17:15 CEST 2003


On Sat, 16 Aug 2003, Cees de Groot wrote:

> On Fri, 2003-08-08 at 22:27, Avi Bryant wrote:
> > home
> >   contents clearDelegate
> >
> Why do you need an extra component? Why would 'self clearDelegate' not
> work?

Any currently visible component already has a nil delegate (by definition
- if it was not nil, the delegate should be visible instead).  So you're
pretty much always going to need two components involved here - one which
is visible which renders the "home" link, and one (the "home"
component itself) which isn't, and to which you send #clearDelegate.

A better name for that message might be #bringToFront...





More information about the Seaside mailing list