Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-09 Thread Andreas Junghans
Hi, Am 08.08.2007 um 17:37 schrieb vbZ: > I found the bug at class net.sf.qooxdoo.rpc.RemoteCallUtils, method > toJava(Object obj, Class targetType), line 136. > > There isn;t check to null of desc variable. All works fine, if I > add the test; > >--- addedif (desc

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-08 Thread vbZ
Andreas Junghans wrote: Hi, Am 06.08.2007 um 14:13 schrieb vbZ: thank You for Your response. But I have still the trouble with convertion JSONObject to my Object: The rcp request is: {"service":"com.tietoenator.nas.common.ui.qooxdoo.RTOrder","method":"t esObj","id":2,"params":[{"$ $ini

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-07 Thread Andreas Junghans
Hi, Am 06.08.2007 um 14:13 schrieb vbZ: > thank You for Your response. But I have still the trouble with > convertion JSONObject to my Object: > > The rcp request is: > {"service":"com.tietoenator.nas.common.ui.qooxdoo.RTOrder","method":"t > esObj","id":2,"params":[{"$ > $initialized":true,"c

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-08-06 Thread vbZ
Andreas Junghans wrote: Hi, Am 30.07.2007 um 15:41 schrieb VojBarZ: 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 followin

Re: [qooxdoo-devel] Howto map JS object as parameter to RPC method by Java

2007-07-31 Thread Andreas Junghans
Hi, Am 30.07.2007 um 15:41 schrieb VojBarZ: > 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 conv