Welcome ... Fritz Zaucker Oetiker+Partner AG Aarweg 15 CH-4600 Olten +41 62 775 9903
> Am 23.02.2014 um 17:12 schrieb Keve Nagy <k...@safe-mail.net>: > > > >> I don't have the docu on hand, but it's either getSelection()[0].getValue() >> or .getModel() or .getLabel() > > The .getLabel() is the one I needed. > > // > var mySelectBox = new qx.ui.form.SelectBox(); > mySelectBox.add(new qx.ui.form.ListItem("Blue Bus")); > mySelectBox.add(new qx.ui.form.ListItem("Red Radio")); > mySelectBox.add(new qx.ui.form.ListItem("Green Golfball")); > mySelectBox.addListener("changeSelection", function(e) { > alert( "The selected string-value is > "+mySelectBox.getSelection()[0].getLabel() ); > }); > // > > mySelectBox.getSelection()[0].getLabel() gives me "Blue Bus" or "Red Radio" > or "Green Golfball", whichever is the selected one. > > Thank you for your help, Fritz! > I very much appreciate the quick solution! > > Best Regards, > Keve Nagy * Debrecen * Hungary > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel