Hi Stefan,

the setSelection method needs an array as parameter, please change this:
rg.setSelection(radioButton1);
to:
rg.setSelection([radioButton1]);

Cheers,
Chris

Am 01.04.2010 23:39, schrieb Stefan Meyer:
> Hello,
>
> yes i do and i dont find a solution.
>
>    
>> Have you tried reading the API? All your answers are there. I suggest
>> consulting the API and the demos before posting a question like this
>> that took you more time to construct and post then it would have to
>> simply look it up in the API. You will save yourself a lot of time by
>> spending a little time reading the API, and in my business, time is money.
>>
>> Jim
>>
>>
>> On Wed, Mar 31, 2010 at 2:08 PM, [email protected]
>> <mailto:[email protected]>  <[email protected]
>> <mailto:[email protected]>>  wrote:
>>
>>      Hello,
>>
>>      how can i select a radiobutton? I try this
>>
>>                     // create groupbox
>>                     var box3Helper = new qx.ui.container.Composite(new
>>      qx.ui.layout.VBox(4));
>>                     this.containerFormData.add(box3Helper);
>>
>>                     var radioButton1 = new
>>      qx.ui.form.RadioButton("Einzeldruck");
>>                     radioButton1.setMarginLeft(4);
>>                     box3Helper.add(radioButton1);
>>
>>                     var radioGroup1 = new
>>      qx.ui.groupbox.RadioGroupBox("Seriendruck");
>>                     radioGroup1.setLayout(new qx.ui.layout.HBox(12));
>>                     box3Helper.add(radioGroup1);
>>
>>                     var rg = new qx.ui.form.RadioGroup(radioButton1,
>>      radioGroup1);
>>                     rg.setSelection(radioButton1);
>>
>>                     var label3 = new qx.ui.basic.Label("Adressen: ");
>>                     radioGroup1.add(label3);
>>                     var textField3 = new qx.ui.form.TextField("");
>>                     radioGroup1.add(textField3);
>>
>>
>>      and how can i get the slected item?
>>
>>      thanks for help
>>
>>      
>> ------------------------------------------------------------------------------
>>      Download Intel&#174; Parallel Studio Eval
>>      Try the new software tools for yourself. Speed compiling, find bugs
>>      proactively, and fine-tune applications for parallel performance.
>>      See why Intel Parallel Studio got high marks during beta.
>>      http://p.sf.net/sfu/intel-sw-dev
>>      _______________________________________________
>>      qooxdoo-devel mailing list
>>      [email protected]
>>      <mailto:[email protected]>
>>      https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>> ------------------------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>      
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>    


-- 
Christian Schmidt
Software Entwickler

1&1 Internet AG - Web Technologies
Ernst-Frey-Straße 9 · DE-76135 Karlsruhe

Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to