[Seaside] How to stop periodical, end a polling mechanism... again

Lukas Renggli renggli at gmail.com
Thu Jul 5 19:03:15 UTC 2007

> I've already tried it rendering the same you wrote, and setting
> #evalScripts: to true. The response contains javascript but still does not
> work:
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html
> xml:lang="en" xmlns="http://www.w3.org
> /1999/xhtml" lang="en"><head><title>Seaside</title><meta content="text/html;
> charset=utf-8" http-equiv
> ="Content-Type" /></head><body><script
> type="text/javascript">/*<![CDATA[*/periodical.stop()/*]]>*/</script
> nothing happens, the periodical doesn't stop.
> I've also tried to do some more weird stuff, like rendering a hidden div
> with a onLoad javascript event
> that stops the periodical...
> and again nothing happens..
> It's so frustrating!!

I copy and pasted your example. I fixed it according to my previous
mail and it works. As a response you should only get:

  <script type="text/javascript">/*<![CDATA[*/periodical.stop()/*]]>*/</script>

Nothing else, especially no <head> and <body> tags.


Lukas Renggli

More information about the Seaside mailing list