Default selected radio button for <h:selectOneRadio> in JSF
posted 6 years ago
aH is a bean and type will be a property in the bean.
Initially aH.type will have a value "XYZ" which is not matching with any of the selectItem in the UI (initial value will always be "XYZ"). But i need the item "ABC" to be selected(checked) in the page load by default.
I have tried Checked="Checked", but of no use. Please help me to achieve this.