Re: [xwt-users] Passing arrays in xmlrpc calls

Stuart Clark <[email protected]>
Newsgroups gmane.comp.java.xwt.users
Message-ID <[email protected]>
Charles Goodwin wrote:
> 
> Hmm I'm not sure how to actually pass arrays, I'm just certain it's
> possible.  Perhaps it's related to the xwt.dom property.
> 

data = 
xwt.xmlrpc('http://127.0.0.1/xwt/auth/rpc.cgi').user.show(['userid', 
userid]);

Passes an array with two elements (one fixed string, one var).

I haven't quite worked out how to get it to pass javascript arrays yet. 
Ditto for hashes/structs. Adam...?

-- 
Stuart Clark
mailto:[email protected]
http://www.Jahingo.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.