[Seaside-dev] Re: Altitude
Avi Bryant
avi at dabbledb.com
Thu Nov 6 18:39:59 UTC 2008
On Thu, Nov 6, 2008 at 2:03 AM, Julian Fitzell <julian at fitzell.ca> wrote:
> We have, though, for example, WAWindowDecoration which
> WAPlugin uses to display any component as a window with a close X in
> the top corner. The components don't really need to know they're
> wrapped there. In fact, it occurs to me that the WindowDecoration
> could actually be a kind of delegation in which case it wouldn't even
> need to make the component answer nil, it could just remove itself.
A delegation, or just a wrapper component? In a case like that where
the window really has a lot of control, vs. the component itself
choosing when to answer, I feel like
self call: (WAWindow on: myComponent)
is maybe a better representation?
Avi
More information about the seaside-dev
mailing list