Derrell Lipman wrote: > On Fri, Mar 5, 2010 at 10:54, Olivier ZORO-BI > <[email protected] <mailto:[email protected]>> wrote: > > hi, > I would like to know how to use the timeout event with the > qx.io.remote.Request. I have the example of completed which is: > req.addListener("completed", function(a) { > alert(a.getContent()); > }) > > > You should be able to do something like this: > > req.addListener("timeout", > function(e) > { > var output = []; > output.push("type=" + e.getType()); > output.push("state=" + e.getState()); > output.push("statusCode=" + e.getStatusCode()); > output.push("content=" + e.getContent()); > output.push("responseHeaders=" + > e.getResponseHeaders()); > alert(output.join("\n"); > }); > > Derrell > Thanks Derrell, I'll try with it and make you know if it works.
Olivier ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
