I removed it,I still have the same problem when I put the a4j code inside a
panel grid and panel group.
the code without panels works fine!!
Jeff Bischoff wrote:
>
> 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..
>>
>>
>>
>>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/about-using-ajax4jsf-with-selectOneRadio-tf3446617.html#a9615924
Sent from the MyFaces - Users mailing list archive at Nabble.com.