Hi,

When request is completed how can I put content to a class member?

for example, this.data = e.getContent(); seems to work but when I access it
form another class data is not set.

var req = new qx.io.remote.Request("http://localhost:8080/jlogin/";, "GET",
"application/json");

req.addListener("completed", function(e) {
    alert("completed: " + e.getContent());
    this.data = e.getContent();
 });


Thanks
Tero
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to