[Seaside] How to stop periodical?
Boris Popov
boris at deepcovelabs.com
Wed Nov 22 17:40:35 UTC 2006
Nevermind me with my evalScripts set to false again ;)
Thanks!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
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
attachments.
Thank you.
-----Original Message-----
From: seaside-bounces at lists.squeakfoundation.org
[mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf Of Boris
Popov
Sent: Wednesday, November 22, 2006 9:18 AM
To: seaside at lists.squeakfoundation.org
Subject: [Seaside] How to stop periodical?
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)
script:
((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()');
yourself)
Seems to run okay, but doesn't stop and I can't seem to find any decent
documentation for scriptaculous JS API,
Any hints?
Thanks!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
boris at deepcovelabs.com
CONFIDENTIALITY NOTICE
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
attachments.
Thank you.
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the Seaside
mailing list