Re: [qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread damiand
Thank you Benjamin, I changed my code, according to your sample, but the problem remains. In the playground the following: var rbg = new qx.ui.form.RadioButtonGroup(); rbg.getRadioGroup().setAllowEmptySelection(true); var rb1 = new qx.ui.form.RadioButton("Yes"); rb1.setModel(qx.data.marshal.Json.

Re: [qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread Benjamin Dreux
Hi Welcome in the list. Here is an exemple of mine: it could be helping: function(){ var sexRadioButtonGroup = new qx.ui.form.RadioButtonGroup(); sexRadioButtonGroup.setLayout(new qx.ui.layout.HBox(5)); var femaleItem = new qx.ui.form.RadioButton(this.tr("female")); femaleItem.setModel

[qooxdoo-devel] Initialize the selection of a RadioButtonGroup

2011-06-03 Thread damiand
Hello again, My first encounter with the qooxdoo community was very positive. Martin gave me two very helpful hints. Now, I'm facing the problem of setting the selection of a RadioButtonGroup to an initial value (taken by a database field, for example). I modified a bit, an example given by Marti