Hi Andy,
Andy Jarrell wrote: > > RadioGroup also sends an array of the selected models where > RadioButtonGroup sends an array of the selected RadioButtons? > You can access on both widgets both collections. getSelection always returns the selected Widgets (RadioButtons) and getModelSelection always returns the corresponding models. Andy Jarrell wrote: > > If my property is looking for a single, non-Array value I will have to do > some conversion regardless. It would seem that the idea of responding > with an array of models supports the easy switch/replacement of the View > part of the form with a multiple select checkbox if so needed. But, it > still seems strange for an object which specifies that only one item can > be selected to send an array of data (holding only one item) upon > selection. It's easy enough to convert so that's actually not my real > question, but thank you for the direction to the RadioGroup. > We had that discussion quite often on the list and among the developers here in the core team. But we finally made the consistency among all widgets more prior than the ease of usage of one widget. Thats the mail reason we did that. Andy Jarrell wrote: > > My main question was in regards to the different event behavior when the > form upon when the RadioButtonGroup resides is disabled. When the parent > form is disabled my converter function is receiving an empty array when I > am programmatically updating the RadioButtonGroup. Is that by design? > We don't have a statement how selections should act when its widget is disabled. Thats why we opened a bug some time ago to get that behavior straight: http://bugzilla.qooxdoo.org/show_bug.cgi?id=3344 Andy Jarrell wrote: > > Kudos to the qooxdoo team. It is an amazing piece of code and it has been > a life saver in terms of allowing me to quickly craft Web-based GUIs that > look very professional. Thank you for sharing all the hard work. > Your welcome. :) Regards, Martin -- View this message in context: http://qooxdoo.678.n2.nabble.com/Re-qooxdoo-devel-Digest-Vol-48-Issue-30-tp5030951p5034702.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
