Are there any attributes to pre select some radio button in tag on page lodads
below is my code i want the Now radio button to be selected when page loads ,
<h:selectOneRadio id="Radios"
value="#{pc_ClosureDecision.closureDetails.approvalDateSelected}"
layout="lineDirection" onclick="check_Date()">
<f:selectItem itemValue="now" itemLabel="Now" />
<f:selectItem itemValue="later" itemLabel="Resolve Later" />
</h:selectOneRadio></td>
Initialize
#{pc_ClosureDecision.closureDetails.approvalDateSelected}with a value of"now"(in the Java code, or by injection in yourfaces-config.xml).