When I run the following code in the console: // Create a model var model = genpres.lib.model.DatabaseConnection.create(); // Create a window var wnd = new qx.ui.window.Window(); wnd.setLayout(new qx.ui.layout.VBox(10)); // Create the form containing a selectbox called PDMStype var form = new genpres.form.ConfigurationForm(); var pdmsType = form.getItems().PDMStype; // Create a list controller for the pdmsType var pdmsCtrl = new qx.data.controller.List(null, pdmsType); pdmsCtrl.setDelegate({bindItem: function(controller, item, index) { console.log(controller, item, index); controller.bindProperty("label", "label", null, item, index); controller.bindProperty("data", "model", null, item, index); }}); pdmsCtrl.setModel(model.getType()); // Render and show the windo var rend = new qx.ui.form.renderer.Single(form); wnd.add(rend); wnd.show(); // Change the model model.setType([{label: 'Test', data: 'Test'}]);
I expect to see the pdmsType combo being updated with a list item 'Test'. However, nothing happens. -- View this message in context: http://qooxdoo.678.n2.nabble.com/list-controller-does-not-update-list-tp7586693.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel