Hi,

Martin Wittemann wrote:
> 
> Sure. Either you add a property to your data and set the icon path or you
> set the icon path to the same as  the label and use a converter to convert
> the labels name to an icon path. Both ways could be a wood way, depending
> on your requirements.
> 

hmm,??
you mean in this way?
var data = [{label: "Red", id: 1, "red.png"}, {label: "Blue", id: 2,
"blue.png"}, {label: "Yellow", id: 3, "yellow.png"}, {label: "Green", id: 4,
"green.png"}];

and how to change the controller binding?

best regards
Hansjoerg

-- 
View this message in context: 
http://old.nabble.com/Controlller%2C-How-get-value-instead-of-label-of-a-SelectBox--tp30255702p30257387.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