Using model instead of value is confusing a lot people, here there is a
discussion about it: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2733

<http://bugzilla.qooxdoo.org/show_bug.cgi?id=2733>What you said about
getValue in checkboxes is not a inconsistency because getValue is different
from getModel. But for me, the getValue in radiobuttons is a inconsistency.
Actually, it's the reason why all widgets can't use getValue and why they
introduced the model property.

That's my point in the link above, widgets items shouldn't be treated like
form items. Instead, theirs containers should be treated like form items
e.g. RadioButton implements qx.ui.form.IForm, but it shouldn't.. You won't
use a RadioButton alone in a form, you have to use a RadioButtonGroup.

After all, I really like the way everything works right now. It's flexible
and very well structured. The only problem is the name of the properties,
methods and RadioButton being a form item.

Taking the number of people asking about model and value in this ML should
give us an idea of how difficult the model concept is to accept.

On Tue, Dec 29, 2009 at 8:45 AM, <i...@saksys.de> wrote:

> In 0.8.3 we could use .getvalue for getting metadata of selected list
> item directly. Now we have to use .getmodel instead. I mean we have   now
> .getvalue instead of .getchecked for checkboxes. So it sounds for   me
> like a kind of inconsequensy. But realy dont misunderstand me guys   i m
> really impressed of qooxdoo since i heard the first time about it.   Just
> want to give hints ;)
>
> Von meinem iPhone gesendet
>
> Am 28.12.2009 um 17:56 schrieb Dmitry Kozhevin
> <dmitrikozhe...@gmail.com>:
>
> > hey, Sak, a good point btw.
> > I didn't find any way to get few items selected inside SelectBox. There
> is  List for that kind of job.
> > May be we have no getValue()  for some historical reason then ;) On Mon,
> Dec 28, 2009 at 4:58 PM,  <i...@saksys.de> wrote:
> >> Hi DmitriKo,
> >>> There is no any sure about only one value returning from SelectBox.
> >> could you tell me how to get more then one?
> >> regards Sak
> >>> I'd say qx guys are playing well with that stuff.
> >>> There is no any sure about only one value returning from SelectBox.
> You can subclass any widget easy and
> >>>    write down any syntax sugar as a your homework.
> >>> ;)
> >>> --
> >>> DmitriKo
> >>> On Mon, Dec 28, 2009 at 3:26 PM,  <i...@saksys.de> wrote:
> >>>> Hi devs,
> >>>> i am realy missing .getValue for SelectBoxes. I'm understanding
> that you
> >>>> try to handle the methods more homogeneous. But i think for some
> objects
> >>>> you did more complicatated as needed. For example the Selectbox.   It
> can
> >>>> have just one Selected value, so why i have to get the value mit
> .getSelection()[0].getLabel()? A .getValue() was easy enogh, or   is
> their
> >>>> any cosmic concept i am not understandig behinde?
> >>>> regards Mustafa Sak
> >>>> ---
> >>>> ---
> >>>> ---
> >>>> ---
> >>>> ------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support A
> streamlined, 14 day to market process makes app distribution   fast
> and
> >>>> easy
> >>>> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> >>>> _______________________________________________
> >>>> qooxdoo-devel mailing list
> >>>> qooxdoo-devel@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >>> ---
> >>> ---
> >>> ---
> >>> ---
> >>> ------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community Take
> advantage of Verizon's best-in-class app development support A
> streamlined, 14 day to market process makes app distribution   fast
> and
> >>> easy
> >>> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> >>> _______________________________________________
> >>> qooxdoo-devel mailing list
> >>> qooxdoo-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >> ---
> >> ---
> >> ---
> >> ---------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community Take
> advantage of Verizon's best-in-class app development support A
> streamlined, 14 day to market process makes app distribution fast   and
> easy
> >> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> >> _______________________________________________
> >> qooxdoo-devel mailing list
> >> qooxdoo-devel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> > ---
> > ---
> > ---
> > ---------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community Take
> advantage of Verizon's best-in-class app development support A
> streamlined, 14 day to market process makes app distribution fast   and
> easy
> > Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to