Hi all,

I'm trying to send JS object as parameter to RPC method at the java 
side. Communication is OK, but I don't know how to set the type of the 
given object (or how to retype JSONObject to the java object)

If I try the following code, the JSON conversion throws the exception:

public void testObject(MyObject o) throws RemoteServiceException {
    ......
}

If i try set type of the parameter to Object, the HashMap is set up.

Have You any idea?

Thanks a lot for help,

V

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to