Hi Thomas, Today thron7 wrote:
> Mh, but your Playground example doesn't even try to call the > .getSelection() method?! I've added these few lines, and they work just > fine. Or am I missing something?! > > gender.addListener("changeSelection", function(e) { > var vals = gender.getSelection(); > alert(vals); > }); I should not have to call getSelection at that point as fahr as I understand it, since the data is managed by the controller, so I should just have to look at the model of the form and not at the model of the list ... it does work fine as long as I stick with single selection, but it fails when I enable multi-selection ... cheers tobi ps. I know hot to get the data 'by hand' ... > > Give it a shot. > > T. > > > Hi Thomas, > > > > Yesterday thron7 wrote: > > > >> > >> > >> On 07/02/2010 04:30 PM, Tobias Oetiker wrote: > >> > Hi, > >> > > >> > I am trying to use qx.ui.form.List with SelectionMode additive. > >> > Is there a trick to get all the selected items returned from the > >> > list without accessing the list controller directly? > >> > >> qx.ui.form.List.getSelection() ?! > > > > yes, I know, the problem is to get that working when the list is in > > a form with data binding ... have a look at the playground example > > ... > > > > the system just spits out one of the selected items of the list. > > > > cheers > > tobi > >> > >> T. > >> > >> ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by Sprint > >> What will you do first with EVO, the first 4G phone? > >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> _______________________________________________ > >> qooxdoo-devel mailing list > >> qooxdoo-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > >> > >> > > > > -- > > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > > http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > qooxdoo-devel mailing list > > qooxdoo-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel