You should specify a groupName for every repeated element, like
searchControlRepeater.currentItem.someName.

Matt 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of deepu_verma
Sent: Tuesday, February 28, 2006 11:13 PM
To: [email protected]
Subject: [flexcoders] radio button group inside repeater

Hi,
When I create radio buttons inside a repeater control. The UI creats
the all the radio button in a single group.
Following is the code :
<mx:Repeater dataProvider="{searchControlHelper.repeaterModel}"
id="searchControlRepeater" recycleChildren="true">
<mx:VBox>
                                        <mx:RadioButton id="andRadio"
label="And" data="and"
selected="true"
click="{orRadio[event.target.instanceIndices].selected=false}"/>
                                        <mx:RadioButton id="orRadio"
label="Or" data="or"
click="{andRadio[event.target.instanceIndices].selected=false}"/>
                        </mx:VBox>
</mx:Repeater>







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to