Re: [qooxdoo-devel] Problem with RadioButtonGroup and changeSelection

2011-05-10 Thread Daniel Lenggenhager
Hi Tristan Thanks for the help... I think it was too late yesterday to see this easy problem with the return value *arg*. About the link, I'll remember it for the next time! Daniel Am 10.05.2011 07:55, schrieb Tristan Koch: > Hi Daniel, > > the data event you receive in your listener for the "c

Re: [qooxdoo-devel] Problem with RadioButtonGroup and changeSelection

2011-05-09 Thread Tristan Koch
Hi Daniel, the data event you receive in your listener for the "changeSelection" event holds an array of selected items, see [1]. Changing your code to var radioButton = event.getData()[0] should do the trick. Tristan [1] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.selection.Abstra

[qooxdoo-devel] Problem with RadioButtonGroup and changeSelection

2011-05-09 Thread Daniel Lenggenhager
Hi all, I've got a problem with the changeSelection event. I've receive the data from the event (is a radio button) and call an object method (i.e. getModel)... the result is an error. http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520test%2520%253D%2520new%2520qx.data