Hi,
I'm creating a proof of concept with:
GUI: a qooxdoo form and table
IDE: Eclipse with an .ant script to run python (no command line)
Server: tomcat/6 + flexjson as proxy
I'm performing crud hibernate queries with an extremely simple entity. It
should serve as a perfect Java-qooxdoo example. It's not only our
companies decision-making project to use qooxdoo or not, but it should get
into the contribs.
The form for creating new entities works (without doing manual json
reading ), but I don't know how to bind the table to a store. I can't find
any
jsonp demo; what kind of callback parameter should I use and how should I
formulate the bind call?
var table = this.createTable(); // creates a qx.ui.table
this.getRoot().add(table);
function callbackParamName(param) { // something like this?
alert('ready');
}
var url = "ProxyServlet?method=read";
var store = new qx.data.store.Jsonp(url, null,"callbackParamName");
store.bind("?", table, "model"); // what to bind?
Thanks,
Niels Gorisse
GeoXplore
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel