[squeak-dev] comet-examples

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] comet-examples

niko.schwarz
hello!

when  i run ctcounter out of teh box, i get the error that  
#registerPusher:context: doesnt exist.

here is ctcomet>>pusher:
pusher: aPusher
        self url: (self canvas context actionUrl
                withParameter: self class headerField
                value: (self session
                        registerPusher: (pusher := aPusher)
                        context: self canvas context))

what's going on?

thanks in advance

niko

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] comet-examples

keith1y
Comet needs you to run WAListener rather than WAKom, it also requires
its own CtSession.

As an alternative to CtSession there is a CometHelper in Seaside28Jesam
package which adds comet to support to any session class.

Keith