I am now able to pass a list to a rpc call and get a dict.
my python code has to ignore the last element manually like so:
from jsonrpc import handleCGI, ServiceMethod
@ServiceMethod
def get_prog(self, runs):
runData = {}
for run in runs[:-1]:
is this normal? I would have hopped the rpclib (python server side)
would have handled this... Or is it just something I'm doing wrong?
I call it like this:
runData = rpc.callSync("get_prog",runs);
I am really happy with qooxdoo. I just dont' know enough about
javascript to be able to do this stuff I am doing with qooxdoo.
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel