You use

> ajaxSingle="true"

so the outputText can not be rerendered. Only the selectOneRadio itself will be rerendered. Remove this attribute.

lmk wrote:
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..







Reply via email to