Yes the method should definitely return the value of the selected ListItem.

And setValue should of course select the ListItem which has the given value.

In general every ui.form widget should work like this so we can iterate through all ui.form widgets and get or set their value without having to distinguish between widgets which give values back or not.

To achieve this I've created eg. a widget called RadioBox which is a container (HorizontalBox) for RadioButtons. This widget has a value property which enables the radiobox with the given value.


Sebastian Werner schrieb:
I'm not sure. Maybe it's a good idea. Other opinions?

Cheers,

Sebastian



dperez schrieb:
  
Hi,

I think I have found a bug.

If the TextField of a combo box is not editable, ComboBox.getValue() should
return the value of the selected ListItem, instead of its label.
Do you agree?

Regards,
David


    


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
  

-- 
Mit freundlichen Grüßen
Dietrich Streifert
Visionet GmbH
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to