Greetings,

Thank you for the replies. Both were very helpfull. I struggled a bit with
getting the data into the widget (and I'm not quite happy with how I do it
at the moment), but I got it working.

      reqITAttributeFields.addListener("completed", function(e) {
        var thedata = new qx.data.Array();
        var x = e.getContent();
        for (var i = 0; i < x.results.row.length; i++){
          thedata.push(x.results.row[i].fieldname);
        };
        var listController = new qx.data.controller.List();
        listController.setTarget(list);
        listController.setModel(thedata);
      });

Regards,
Tom

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/store-to-gui-preferred-method-HOWTO-tp6482321p6485906.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to