How is the status about these fixes?
As I notice, if you perform a Combobox.setValue("given value"), the ListItem
which has the given value is selected, but also the label text of ComboBox
is set to to this value.
And a Combobox.getValue() returns unfortunatly still the label instead of
the value of the selected item.
I'm talking about 0.7.1, and I think this is still buggy.



Dietrich Streifert wrote:
> 
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ComboBox.getValue%28%29-bug-tf2270085.html#a12163132
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to