On 03/09/2010 02:07 PM, Dennis Janezic / TerraTransfer GmbH wrote: > Hi, > > all I want to know is if there is any example on how to use the > qx.data.controller.Object() - Class.
Various of the 'data' demos use it, e.g. http://demo.qooxdoo.org/current/demobrowser/#data~Form.html http://demo.qooxdoo.org/current/demobrowser/#data~Gears.html http://demo.qooxdoo.org/current/demobrowser/#data~Twitter.html (Hint: For such queries, use the filter field of the DemoBrowser). You might also want to look at this blog entry: http://news.qooxdoo.org/data-binding-controllers T. > I would like to import some settings from an json - formatted file into > my application. So I try to open the file with the qx.data.store.Json() > - Class, binding it to the qx.data.controller.Object() - Class to read > the data into variables. But all examples I can find are about > qx.data.controller.List() - and -.Tree() - Classes where the data > directly flows into the ui's... > > > // create the data store > var url = "resource/jsondata/config/config.json"; > var store = new qx.data.store.Json( url ); > > // create the controller and connect all fields > var myController = new qx.data.controller.Object( store ); > > // ??? > > Other solutions solving my problem are also welcome! ;) > > Thanks in advance! > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
