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 "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.Abstract~getSelection > > PS: > Did you know you can shorten the URL of a playground example? Makes it easier > to read your mail and paste the code. > > Am 09.05.2011 um 22:48 schrieb 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/ > <snip> > >> Is there something wrong with my code? >> >> Thanks for the help. >> Daniel >> <ATT00001..txt><ATT00002..txt> > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
