diff options
Diffstat (limited to 'sca-java-2.x/trunk/modules/binding-comet-runtime/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/resources/cometComponentContext.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/resources/cometComponentContext.js b/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/resources/cometComponentContext.js index 60bbbe4b98..589ae73e7f 100644 --- a/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/resources/cometComponentContext.js +++ b/sca-java-2.x/trunk/modules/binding-comet-runtime/src/main/resources/cometComponentContext.js @@ -22,6 +22,9 @@ this.TuscanyComet = { appUrl: 'tuscany-comet', connectedEndpoint : null, connect : function(transport) { + if(transport == null) { + transport = 'streaming'; + } $.atmosphere.subscribe(document.location.toString() + this.appUrl + "/connect", this.callback, $.atmosphere.request = { |