jujubilation
9 Sep 2009, 8:45 AM
Hello,
I have some trouble to use the response of the server. I create my provider and all work : I just to write Users.getall(); to have my server response in my firebug.
But when I want to use the response, I write this like the doc says but nothing in the function work :
Users.getall(function(provider, response) {
alert("test");
//var jsonData = Ext.util.JSON.decode(response);
});
Someone have an idea ? Thanks in advance.
I have some trouble to use the response of the server. I create my provider and all work : I just to write Users.getall(); to have my server response in my firebug.
But when I want to use the response, I write this like the doc says but nothing in the function work :
Users.getall(function(provider, response) {
alert("test");
//var jsonData = Ext.util.JSON.decode(response);
});
Someone have an idea ? Thanks in advance.