You need to sign in to do that
Don't have an account?
Ganesh Babu 7
Pass selectRadio itemvalue to Controller using Param
Below is my Code, Is there any way we can pass the selected Item value using actionsupport Param name selectedvalue
<apex:selectRadio value="{!isselected[s.id]}" id="col1">
<apex:selectOption itemValue="true" itemLabel="Yes" />
<apex:selectOption itemValue="false" itemLabel="No"/>
<apex:actionsupport action="{!optyline}" event="onclick" reRender="formid" immediate="false" >
<apex:param value="{!s.id}" assignTo="{!id}" name="a"/>
<apex:param value="" assignTo="{!isselected[id]}" name="selectedvalue"/>
</apex:actionsupport>
</apex:selectRadio>
<apex:selectRadio value="{!isselected[s.id]}" id="col1">
<apex:selectOption itemValue="true" itemLabel="Yes" />
<apex:selectOption itemValue="false" itemLabel="No"/>
<apex:actionsupport action="{!optyline}" event="onclick" reRender="formid" immediate="false" >
<apex:param value="{!s.id}" assignTo="{!id}" name="a"/>
<apex:param value="" assignTo="{!isselected[id]}" name="selectedvalue"/>
</apex:actionsupport>
</apex:selectRadio>
if you found this answer helpful then please mark it as best answer so it can help others.
Thanks
Akshay