Simple answer, yes! We do something similar to this, I would show you our code but it is very deep within our business logic so I can't really :(
A cut down version of it that you could try would be something like this (untested): // rpc = your rpc object // aParams = your array of paramemeters var args = [myHandler, myMethodName]; qx.lang.Array.append(args, aParams); rpc.callAsync.apply(rpc, args); This should work but If i've got anything wrong let me know and I'll do some testing. Hope that helps, Matt Michael Ochs wrote: > Hi, > > I have to make an rpc request with a unknown number of arguments. > Therefore I stored the arguments in an array, but when I use > callAsync(handler, method, parameters); it sends the array as an array > to the webserver and not as single arguments. So my request just has > one argument which is an array. Is there any way to change this? > > Thanks for your help, > Michael > > ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
