[Seaside] How to stop periodical?
ramonleon at cox.net
Wed Nov 22 17:38:03 UTC 2006
Boris Popov wrote:
> Here's an adaptation of a standard periodical test, except I'd like it
> to stop polling at some point (in this example, immediately),
> renderContentOn: html
> (html paragraph)
> ((html periodical)
> assignTo: 'my_periodical';
> frequency: 5 seconds;
> on: #renderTimeOn: of: self);
> with: 'getting current time...'
> renderTimeOn: html
> html render: Time now.
> html script:
> add: (SUStream on: 'my_periodical.stop()');
> Seems to run okay, but doesn't stop and I can't seem to find any decent
> documentation for scriptaculous JS API,
> Any hints?
More information about the Seaside