[Seaside] disconnecting Comet?

Richard Durr richard.durr at googlemail.com
Wed Jun 23 20:09:11 UTC 2010


use javascript to set the location of the frame to "about:blank" for
example or unhook it from the dom.

On Wed, Jun 23, 2010 at 7:01 PM, Bob Arning <arning at charm.net> wrote:
> Hi,
>
> Once I have connected Comet to a page, is there a way to disconnect it
> without completely re-rendering the page? I have this in my response
> generating code:
>
>        needPusher ifTrue: [
>                html document
>                        addLoadScript: (html comet
>                                pusher: mainPusher;
>                                connect)
>        ] ifFalse: [
>                html document
>                        addLoadScript: (html comet pusher: mainPusher;
> disconnect)
>        ].
>
> and it will start a pusher, but doesn't seem to be able to stop one (like
> make the browser loading indicator stop spinning).
>
> Thoughts?
>
> Thank,
> Bob
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list