Hello,
I'm facing a weird qx.data.store.Json behaviour. When I try to load the
local.json (the same with the sample at qooxdoo's demos) file from a
webserver, the state stucks to "aborted". However, the model is created.
When I try to do the same with the following file:
{"remarkid" : 2, "topic":"test", "remarks" : [{"opened":"14/06/2011",
"icon":"ipqform/media-playback-stop.png",
"discussion": [
{"icon":"ipqform/mail-receive.png",
"message":"Question"},
{"icon":"ipqform/mail-reply-sender.png",
"message":"Answer"}
]},
{"opened":"24/06/2011",
"icon":"ipqform/media-playback-start.png",
"discussion": [
{"icon":"ipqform/mail-receive.png",
"message":"Another question"},
{"icon":"ipqform/mail-reply-sender.png",
"message":"Another answer"}
]}
]}
the state stucks also to "aborted", but the model is created and the
following code
var listRemarks = new qx.ui.form.List();
var store = new qx.data.store.Json(this.getSrcAddress());
var remarksController = new qx.data.controller.List(null,
listRemarks);
store.bind("model.remarks", remarksController, "model");
remarksController.setLabelPath("opened");
remarksController.setIconPath("icon");
fills the listRemarks list items normally. Do you have any idea why the
final state remains "aborted"?
Thank you
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/qx-data-store-Json-state-stucks-to-aborted-tp6537690p6537690.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of 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-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel