Login Register

cometd

using dojox.cometd with Adobe AIR

Hello

I am trying to create an Adobe AIR widget using dojox.cometd for push. I get stuck with the dojox.cometd.init function. I try to call it after onLoad in an application sandbox content. This type of sandbox doesn't allow dynamic code generation after the onLoad event. So I get a "AIR runtime security violation for Javascript in application security sandbox (function constructor)".
Indeed, the init function calls this piece of code :

function(){
var _13c = function(arr, obj, cb){
return [dojo.isString(arr) ? arr.split("") : arr,

Duplicate Messages with Chatting with Tech Support Example

Right now I am trying to get a feel for what dojo has to offer but am struggling to get all the examples working correctly. In particular I am stuck on the Chatting with Tech Support Example found on this website and demonstrated in the example included with the download of dojo-toolkit 1.0.2. The issue I am running into is that when I have a client send a message to the operator the operator receives the message twice as if the client had sent the same exact message twice to the operator. The operator also gets an indication that the client used as join the chat room twice as well.

Cometd server

Hello,

Wich cometd do you like the best?Im using PHP, for PHP is something called "comep", but im not sure if here is anoter better server.
Any idea?

Regards

need help with cometd

Hi,
I was trying to implement the example provided by Martin Ankerl at http://martin.ankerl.com/2007/08/21/ajax-dojo-comet-tutorial/

Following is my code:
------------------------------------------------------------------------------------------

@import "../js/dojo-release-1.0.1/dijit/themes/tundra/tundra.css";
@import "../js/dojo-release-1.0.1/dojoroot/dojo/resources/dojo.css"

supportedConnectionTypes is not sent during cometd handshake

The dojo library does not send supportedConnectionTypes during cometd handshake.
According to Bayeux 1.0 draft, this is a required field.
Do we have any plan to fix it?
This stops server side, like grizzly, doing validation on handshake request.

Syndicate content