Hi all, the result value here is an array. My debugger only does not print out the brackets (as the playground debugger does). So the question is resolved.
Best regards - Claus Am Freitag, den 27.08.2010, 11:20 +0200 schrieb Claus Straube: > Hi all, > > I've problems to get the values of a selected item with RadioGroup and > TabView. > > My code: > --snip-- > //create radio group > var manager = new qx.ui.form.RadioGroup(fork, dec); > > var nextButton = new qx.ui.form.Button("weiter"); > form1.add(nextButton, {row: 3, column: 1}); > nextButton.addListener("execute", function(e){ > var selection = manager.getSelection(); > > this.debug("selected item --> " + selection); > this.debug("selected value --> " + selection.getValue()); > > > }, this); > --snip-- > > Gives out the following debug messages: > 009420 qooxdoo_test.CreateForkWizzardWindow[1284]: selected item --> > qx.ui.form.RadioButton[1362] > selection.getValue is not a function > [Break on this error] this.debug("selected value --> " + > selection.getValue()); > > I would assume, that getSelection() would give an array back (inside the > playground it does), which is not the case. But iit gives neither a > "normal" object back - otherwhise I would be able to fire the getValue() > method on the RadioButton. > > I've got the same problem with the TabView object (in the playground it > works, too). > > Any hints what to do? > > Thank you in advance - Claus > > > ------------------------------------------------------------------------------ > Sell apps to millions through the Intel(R) Atom(Tm) Developer Program > Be part of this innovative community and reach millions of netbook users > worldwide. Take advantage of special opportunities to increase revenue and > speed time-to-market. Join now, and jumpstart your future. > http://p.sf.net/sfu/intel-atom-d2d > _______________________________________________ qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel