Re: [qooxdoo-devel] ComboBox.getValue() bug

2007-08-17 Thread Ferenczi Viktor
A patch is available for this "bug". It is rather an unexpected (and undocumented) behaviour of editable combo boxes, than a real bug. (So qooxdoo is not as buggy as it seems according to the previous posts.) More information, test case, proposed patch: http://bugzilla.qooxdoo.org/show_bug.cgi?id=

Re: [qooxdoo-devel] ComboBox.getValue() bug

2007-08-16 Thread westor
Hi Fabian, I created a bug report. Sorry, I don't have the time to fix this by myself now... :-( Fabian Jakobs-2 wrote: > > westor schrieb: >> 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

Re: [qooxdoo-devel] ComboBox.getValue() bug

2007-08-16 Thread Fabian Jakobs
westor schrieb: > 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 la

Re: [qooxdoo-devel] ComboBox.getValue() bug

2007-08-15 Thread dperez
ComboBoxEx implements already this behavior. Sebastian Werner wrote: > > I'm not sure. Maybe it's a good idea. Other opinions? > > Cheers, > > Sebastian > -- View this message in context: http://www.nabble.com/ComboBox.getValue%28%29-bug-tf2270085.html#a12176123 Sent from the qooxdoo-deve

Re: [qooxdoo-devel] ComboBox.getValue() bug

2007-08-15 Thread westor
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

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-11-19 Thread Aaron Cooper
Hi, Is there any news on this? I agree with everyone who says that getValue should return the value of a ComboBox rather than the Label. If there is no fix as yet, can any let me know of a work around? I've been tring to obtain ComboBox values all morning to no avail. Cheers Aaron Christian B

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Ricardo Borillo
Hi Christian,I follow exactly the same approach. I have a FormManager class with three methods:*. Bind. Register a set of "form" widgets in the FormManager.*. Fill. Fill the values of the widgets with an AJAX response. *. Clear. Remove all values from the widgets registered.I agree with you, this s

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Tomek Loboda
I vote for value. Best, --Tomek Sebastian Werner wrote: > 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 >> ret

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
Maybe something like this could be implemented for 0.6 ... would also ease migration for me ;-) I am happy to share my ideas. When I use QxBuilder with the QxDataManager, writing a new dialogue with snazzy interactivity goes really fast! The baseline approach is to treat ALL widgets as potential f

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Ricardo Borillo
It's funny. Me too !!!This is because of the lack of databinding in qooxdoo. Any plans on this?On 9/14/06, dperez < [EMAIL PROTECTED]> wrote:I have done something similar too.  So it musn't be a bad idea Christian Boulanger (Bibliograph Development) wrote:>> In my QxDataManager extension, I hav

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread dperez
I have done something similar too. So it musn't be a bad idea Christian Boulanger (Bibliograph Development) wrote: > > In my QxDataManager extension, I have implemented a uniform behaviour for > all widgets that enourmously simplifies form handling. Instead of the > diverse ways of getting

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
In my QxDataManager extension, I have implemented a uniform behaviour for all widgets that enourmously simplifies form handling. Instead of the diverse ways of getting and setting the form element values (label, value, html, checked etc. etc.) and options (for those widgets which support options),

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Dietrich Streifert
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 havin

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Christian Boulanger
I think it's a good idea. I have so far used a patch which overrides the QxComboBox.prototype.getValue() method to achieve this exact result. Best, Christian > I'm not sure. Maybe it's a good idea. Other opinions? > > Cheers, > > Sebastian > > > > dperez schrieb: >> Hi, >> >> I think I have found

Re: [qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread Sebastian Werner
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? >

[qooxdoo-devel] ComboBox.getValue() bug

2006-09-14 Thread dperez
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 -- View this message in context: http://www.nabble.com/ComboBox.getValue%28%29-bug-tf2270