[Seaside] How to stop periodical?

Boris Popov boris at deepcovelabs.com
Wed Nov 22 17:17:43 UTC 2006

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:
  ((html javascript)
     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?



DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

boris at deepcovelabs.com


This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any

Thank you.

More information about the Seaside mailing list