Hello Greg,

setting a selection to nothing is an easy task if the widget supports it. As in 
the case of the list, this is just emptying the selection array:

controller.getSelection().removeAll();
http://tinyurl.com/23fpd5f

As in case of the select box the widget itself is not capable of selecting 
nothing. It has a one selection mode which is the way it is designed. If you 
need to delete the selection of a select box, maybe the select box is the wrong 
ui element?

Regards,
Martin



Am 12.09.2010 um 19:33 schrieb Greg Beaver:

> Hi,
> 
> I really need to be able to have a list controller and its corresponding
> list's selection set to nothing by default.  In another unrelated
> application, I also need to be able to do this with a selectbox, but
> qooxdoo always selects the first item, and resetting the selection does
> not empty it.  How do I do this?
> 
> Thanks,
> Greg
> 
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to