Hi Guys,
I have run into a situation where I am stuck.
The scenario is like this,
I have got an array collection like this:
[Bindable]
private var testDP:ArrayCollection = new ArrayCollection();
var questionOpt:QuestionOptionVO = new QuestionOptionVO();
questionOpt.questionID=1;
questionOpt.questionOption='me';
questionOpt.questionOptionID=1;
questionOpt.questionOptionStatus=true;
testDP.addItem(questionOpt);
var questionOpt:QuestionOptionVO = new QuestionOptionVO();
questionOpt.questionID=1;
questionOpt.questionOption='you';
questionOpt.questionOptionID=2;
questionOpt.questionOptionStatus=true;
testDP.addItem(questionOpt);
Then I am using this as a dataProvider to run Repeater like this:
<mx:Repeater id="rep1" dataProvider="{testDP}">
<mx:HBox>
<mx:Text text="{rep1.currentItem.questionOption}"/>
<mx:RadioButton
value="{rep1.currentItem.questionOptionID}"
label="{rep1.currentItem.questionOptionID}"/>
</mx:HBox>
</mx:Repeater>
Now my problem is, I would like to read the value of the radio button
which is selected, how could I do this, this would be great if you could
cc your replies to me as well on my email [EMAIL PROTECTED]
Thanks in advance.
Philip
This e-mail has been scanned for all viruses by Star.