Hi !
Currently, I'm writing an application that includes another project (a kind
of status bar).
My problem is the following :
In the project I'm writing, I use QooXdoo and Json-RPC requests thanks to
the qx.io.remote.Rpc class.
In the project I'm including, its uses Prototype framework...

The problem is in the construction of the RPC request. QooXdoo uses
qx.lang.Json.stringify() method. But this method doesn't correctly work
because of Prototype. 

My example : qx.lang.Json.stringify(
{"service":"myService","method":"myMethod","id":1,"params":["param1",
"param2"]} )
Without importing Prototype framework, I get a string :
"{"service":"myService","method":"myMethod","id":1,"params":["param1",
"param2"]}"
>From the time I've imported Prototype framework, I get another string :
"{"service":"myService","method":"myMethod","id":1,"params":*"*[*\*"param1*\*",
*\*"param2*\*"]*"*}"

The problem is in the params key.

I know, it's not your fault. You're not responsible of Prototype. I saw
several topics about this problem.
http://www.mail-archive.com/[email protected]/msg23944.html

Do you know a solution ?

Greetings from France
Simon

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/RPC-request-Stringify-Conflit-with-Prototype-tp7358354p7358354.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to