[Seaside] disconnecting Comet?

Bob Arning arning at charm.net
Wed Jun 23 17:01:44 UTC 2010


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


More information about the seaside mailing list