posted 17 years ago
hi,
if you want get selected value then use valueChangeListener attribute in <h:selectOneRadio...> and then get value from that event
for example
<<h:selectOneRadio id="searchType" value="#{searchAction.searchType}" valueChangeListener="javascript:checkSearchType(ValueChangeEvent event);" >
f:selectItem itemValue="0" itemLabel="A"
f:selectItem itemValue="1" itemLabel="B"
f:selectItem itemValue="2" itemLabel="C"
</h:selectOneRadio>
In chechSearchType you can get new value from event.getNewValue();
hope this will solve your problem..
Regards
-Alim
Regards,
Alim
SCEA/OCMJEA Part1,SCBCD1.5,SCWCD1.4,SCJP1.4,SQL(Z007)