Hi All,

I have a silly question regarding the SelectBox demo:
http://demo.qooxdoo.org/current/demobrowser/#widget~SelectBox.html

The first selectBox (ie called 'Simple') has a changeSelecttion event
listener to dump what's been selected however the output is always a
ListItem object.  I was expecting to see the actual value as displayed in
the list to be shown, just like for the ComboBox demo?

Finally, I am using RPC to read an array of Country objects. Each object
contains many fields including a CountryName for display purposes and a 2
letter country code for use within a database.

If possible, how can I use this array of Country objects in the SelectBox,
only showing the CountryName yet when one item is selected I'd like to be
able to get access to the actual Country object itself, in order to get to
the 2 letter Country code?

cheers!

-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/SelectBox-demo-tp5519848p5519848.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to