how to solve it
the problem ...
LoginBtn.addListener("execute", function (e) {
var rpc = new qx.io.remote.Rpc();
//rpc.setTimeout(10000);
rpc.setUrl("http://localhost/services/");
rpc.setServiceName("qooxdoo.Users");
var handler = function (result, exc) {
if (exc == null) {
alert("Result of async call: " + result); //this
code work ok and any code below this line in if statement issue error
var LoginInfo = qx.lang.Json.parse(result);
var LoginInfo = eval(result);
qx.bom.Cookie.set(LoginInfo[0].Key,
LoginInfo[0].Value, 2);
}
else {
alert("Exception during async call: Login" +
exc);
}
};
rpc.callAsync(handler, "Login", UserNameTxt.getValue(),
PasswordTxt.getValue());
this.__Desktop.widget["DesktopStack"].next();
});
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/local-error-2-tp7011776p7011776.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel