[Seaside] Porting to 2.5a6
Avi Bryant
avi at beta4.com
Tue Jul 6 21:53:35 CEST 2004
On Jul 6, 2004, at 12:36 PM, Brian Brown wrote:
> Hi all,
>
> In porting my app, I was using WAComponent>>clearDelegate to take
> the session back to a "home" state from a menu. 2.5 doesn't seem to
> have clearDelegate anymore... what is the new way of doing that? Is it
> related to WAComponent>>activeComponent?
Hm... try this:
WAComponent>>clearDelegate
dec := self decoration.
[dec == self] whileFalse:
[dec isDelegation ifTrue: [^ self removeDecoration: dec].
dec := dec owner]
Avi
More information about the Seaside
mailing list