I think I have the REST Resource configured correctly here:
var tableREST = new qx.io.rest.Resource({
get: {
method: "GET",
url: "/avg_checkin_times/{hostname}"
}
});
tableREST.configureRequest(function(req, action) {
req.setAccept("application/json");
});
tableREST.get({'hostname': 'schapman-desktop'});
var store = new qx.data.store.Rest(tableREST, "get");
Here's my table:
// table model
var tableModel = new qx.ui.table.model.Simple();
tableModel.setColumns([ "Date", "DelayAvg", "First", "Last" ]);
tableModel.setData(createRandomRows(1000));
// table
var table = new qx.ui.table.Table(tableModel).set({
decorator: null
});
How do I make the data from the tableREST.get end up in the table?
Thanks!
Scott
The content of this email does not necessarily represent the views/opinions of
my employer, Masco Corporation. If you are not the intended recipient of this
email, please let me know since that means it got to you in error. Please
delete it from your computer system since it may contain privileged or
confidential information intended for someone else.
Masco does its best to eliminate viruses and other malicious software in emails
and attachments coming through its servers and so cannot be held responsible if
malicious software is inadvertently imbedded in this communication.------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel