sweet, got jayrock methods working that return

a simpel string 
a simple struct-like class T
a List<T>

then, on the client side

var rpc = new qx.io.remote.Rpc("http://localhost/MyService/MyHandler.ashx";);
var handler = function(result, exc) {
        if (exc == null) {
                alert("Result of async call: " + result);
        } else {
                alert("Exception during async call: " + exc);
        }
};
rpc.callAsync(handler, "mymethod");

all that is doing nicely

for the List<T> I can index result and get at the properties of T

moving forward I stumble upon qx.data.store.Json and of course it would be
nice if the List<T> could be in such a store

could someone in the know show a snip for that?

pseudo-like I can think of this and expect I will have to provide some
instance of IStoreDelegate to add "mymethod" to the mix:

var s = qx.data.store.Json("http://localhost/MyService/MyHandler.ashx";,
...);

t.i.a.


 




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/qx-data-store-Json-sourced-with-List-T-by-jayrock-tp6385493p6385493.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to