Hey Martin,
ok, I will wait for the release date.

At the end one short question:

At the beginning I had a normal select box. No data binding or keys but with
an image.

var tempItem1 = new qx.ui.form.ListItem(this.tr("Red"),"test/red.png");
tempItem1.setUserData("OptionKey", "red_0"); 
selectBox.add(tempItem1);
var tempItem2 = new qx.ui.form.ListItem(this.tr("Blue"),"test/blue.png");
tempItem2.setUserData("OptionKey", "blue_1"); 

But now my selectbox is made with:
var data = [{label: "Red", id: 1}, {label: "Blue", id: 2}, {label: "Green",
id: 3}, {label: "Yellow", id: 4}];

is it possible to add a icon for this too?

regards
Hansjoerg 


-- 
View this message in context: 
http://old.nabble.com/Controlller%2C-How-get-value-instead-of-label-of-a-SelectBox--tp30255702p30257138.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to