hiii,

I want to hide a region on JSF dependin on the radio boutttton click..

the code is very simple like inspired by the a4j doc.

I do this:
<h:selectOneRadio
value="#{bean.person}" >
<f:selectItem itemValue="1" />
<f:selectItem itemValue="2" />
<a4j:support ajaxSingle="true"  event="onclick"/>       
</h:selectOneRadio>

<a4j:outputPanel ajaxRendered="true">
<h:outputText value="#{bean.person}" />
</a4j:outputPanel>                                              


the value of bean.personn  stay equal to default value '1' even  sending
ajax request on click  on 2..




-- 
View this message in context: 
http://www.nabble.com/about-using-ajax4jsf-with-selectOneRadio-tf3446617.html#a9611759
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to