Hi Matteo, You have to replace "this" with "false" in your code, then it should work. Notice that the WebSocket is a native Object and not a qooxdoo-Object, so you have to use the native addListener()-method, which has different parameters than its qooxdoo counterpart:
https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.addEventListener: Best,Andreas Am 09.09.2013 um 12:51 schrieb matteomasina <[email protected]>: > Hi Andreas thank you a lot, > > I've created a qooxdoo Window and when on window open event I've created the > websocket. > > Everything is working well. > the websocket connects to my server and send the message too !!! Great ! > ve > the only problem it's about fire event on messege received. > > I tried : > > ws.addListener("message", function(e) { > alert("ricevuto messaggio"); > }, this); > > and on connection open > > ws.addListener("open", function(e) { > alert("ricevuto messaggio"); > }, this); > > but seems not fire event ! > any idea ? > > thanks for everything, in few days I'll post my code so that if someone wnat > to reuse this id ready !!! > > Regards Matteo > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/how-to-use-or-integrate-socket-in-qooxdoo-tp7584526p7584579.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! > Discover the easy way to master current and previous Microsoft technologies > and advance your career. Get an incredible 1,500+ hours of step-by-step > tutorial videos with LearnDevNow. Subscribe today and save! > http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
