For RadioGroup sue, the value need to be set on the RadioButtons.
Example :
<container>
<radioGroup id="myRadioGroup">
<radioButton value="${foo1}">Choice 1</RadioButton>
<radioButton value="${foo2}">Choice 2</RadioButton>
</radioGroup>
<button onAction="processChoice(myRadioGroup.value)"/>
</container>
In this example, the value is set on each radio button by calling the data provider at parse time. By default the value of the radio group is null and automaticaly set to the selected radio button value.
In this case you can invoke your own action (processChoice on the button in this example) by forwarding the radio group value.
A radio group could give its value by calling myRadioGroupInstance.getValue() or myRadioGroupInstance.getAttribute("value").
getAttribute("attributeName") permit to extract a String value from a widget directly in xml (like myRadioGroup.value in this example). Check the javadoc to see what widget can give what attribute. (For example all AbstractTextWidget return the text value ...)