set default value to radio button?

HI,

<h:selectOneRadio id ="radioEndangered" value="#{Bean.name}" >

<f:selectItemsvalue="#{Bean.myList}" />

</h:selectOneRadio>

my list having few values i need to set one value as default value while form load?

can any one help?

siva

[369 byte] By [sivasaia] at [2007-11-27 4:34:37]
# 1
Just set it in the property behind #{Bean.name}. You can do it in the constructor or initialization block of the backing bean, or by using managed-property entries in faces-config.xml.
BalusCa at 2007-7-12 9:44:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks.
sivasaia at 2007-7-12 9:44:34 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...