In the api it's not clear that successive arguments after the callback and method arguments will be passed on as params, for examples:
(function callRpcServer () { var rpc = new genpres.overrides.io.remote.Rpc(); rpc.setTimeout(10000); rpc.setUrl("../../../DirectRouter/Index"); rpc.setServiceName("Patients"); // call a remote procedure -- takes no arguments, returns a string var that = this; this.RpcRunning = rpc.callAsync( function(result, ex, id) { that.RpcRunning = null; if (ex == null) { console.log(result); } else { alert("Async(" + id + ") exception: " + ex); } }, "GetPatientDetails", "123456"); })() Will result in the number "123456" being added to the params array. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Rpc-callAsync-Api-tp7586517.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel