Hi (sorry the english)
Please, I need some little help about a absurd basic question.
I really really try understand the Qooxdoo 5.0 Date object converter around
Rpc use.
For example I use rpc,
var rpc = new qx.io.remote.Rpc("services/", "comp.Prueba");
try {
var r = rpc.callSync("traerDate");
} catch (ex) {
alert("Sync exception: " + ex);
}
and from PHP response is like this
return "new Date(Date.UTC(1970,9,3,0,0,0,0))";
or
return "1970-09-03T00:00:00.000Z";
but in javascript var r never get a Date object, only strings.
I read documentation and try, API, old post here, the PHP JSONRPC contrib,
qx.io.remote.Rpc.CONVERT_DATES, qx.lang.Json.parse, etc, etc, and I cant
figure what is wrong, what I'm doing wrong. Surely I'm wrong understanding
about how qooxdoo 5.0 work this.
I'm sorry the bad understanding, i love qooxdoo but my bad english not help
with some topics.
I need some little help or some little example online, some tip.
Thank you in advance
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/please-basic-question-about-rpc-date-tp7587409.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel