Hello, I did a migration from 1.3 to 1.5 All my SelectBoxes now do not show longer the label as before in version 1.3 All Selects now show something like;
http://qooxdoo.678.n2.nabble.com/file/n6695239/qxDataModelProblem.jpg ------------------------------------ this.__selectBoxBodyPaper = new qx.ui.form.SelectBox(); this.__selectBoxBodyPaper.setWidth(150); // Data var data = [{label: this.tr("A4"), id: "A4", icon: "document_none.png"}, {label: this.tr("A4R"), id: "A4R", icon: "document_querformat.png"}, {label: this.tr("A3"), id: "A3", icon: "document_none.png"}, {label: this.tr("A5"), id: "A5", icon: document_none.png"}]; var model = qx.data.marshal.Json.createModel(data); this.__controllerBodyPaper = new qx.data.controller.List(null, this.__selectBoxBodyPaper, "label"); this.__controllerBodyPaper.setDelegate({bindItem : function(controller, item, id) { controller.bindDefaultProperties(item, id); controller.bindProperty("id", "model", null, item, id); }}); this.__controllerBodyPaper.setIconPath("icon"); this.__controllerBodyPaper.setModel(model); this.__selectBoxBodyPaper.addListener("changeSelection", function(e) { var selection = e.getData(); this.debug("changeSelection: " + e.getData()[0]); }); container.add(this.__selectBoxBodyPaper); ---------------------------------- Is there something different with the data model from version 1.3 to 1.5? regards Hansjoerg -- View this message in context: http://qooxdoo.678.n2.nabble.com/Problem-with-Data-controller-after-migration-tp6695239p6695239.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
