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
--
claus straube
phone +49-89-1265-3103
mobile +49-176-49673717
skype clausstraube
web http://www.catify.com
office room 1.122, heßstr. 89, 80797 munich
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 [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
