Re: Re: [Seaside] [Q] Ordering Effect and Updater
"S.J.Chun"
chunsj at embian.com
Wed Jul 18 01:40:02 UTC 2007
Thank you, it works!!!
Working code snippet is like this;
canvas submitButton
onClick: (canvas updater
id: 'kGoogle';
triggerForm: 'searchForm';
callback: [ :r | self searchWeb. r render: [self renderResultsOn:r]];
onComplete:(canvas effect
id: 'kGoogle';
highlight);
return: false);
text: 'Search'.
----- Original Message -----
From: Lukas Renggli <renggli at gmail.com>
To: "\"S.J.Chun\"" <chunsj at embian.com>, Seaside - general discussion <seaside at lists.squeakfoundation.org>
Sent: 07-07-18 04:43:13
Subject: Re: Re: [Seaside] [Q] Ordering Effect and Updater
> canvas submitButton
> onClick: (canvas effect
> id: 'kGoogle';
> highlight;
> onBeforeStart: (canvas updater
> id: 'kGoogle';
> triggerForm: 'searchForm';
> callback: [ :r | self searchWeb. r render: [ self renderResultsOn: r]]);
> return: false);
> text: 'Search'.
Use one of the events in SUUpdater (actually see its superclass
SUAjax). I think it is called #onComplete:, but I am not entirely sure
and I cannot check ...
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Seaside
mailing list