Board index JavaServer Faces General Problem using h:selectOneRadio with Ajax update

Problem using h:selectOneRadio with Ajax update

Components, Ajax Framework, Utilities and More.


Posts: 8
Hi there,
Having this problem using h:selectOneRadio and trigger an Ajax update in a wizzard... but h:selectOneMenu is working like a charm!

Here's my code:
<p:panel id="prisPanel">
   <h:outputText value="Pris: #{barnWizard.barnforsakring.pris} kr/mån"/>
</p:panel>

<h:selectOneRadio id="city2" value="#{barnWizard.barnforsakring.ersattningsnivaKod}">                       
   <f:selectItems value="#{barnWizard.ersattingsnivKodList}" /> 
   <p:ajax update="prisPanel" listener="#{barnWizard.onErsattningsnivaInputChange}"/> 
</h:selectOneRadio>                  

<h:selectOneMenu id="city" value="#{barnWizard.barnforsakring.ersattningsnivaKod}">   
   <f:selectItems value="#{barnWizard.ersattingsnivKodList}" /> 
   <p:ajax update="prisPanel" listener="#{barnWizard.onErsattningsnivaInputChange}" /> 
</h:selectOneMenu>   


In the example above the h:selectOneMenu triggers an update to ]<p:panel id="prisPanel"> but h:selectOneRadio dont... any idea what could be wrong?

Running 2.2.RC2-SNAPSHOT

Keep up the good work /J

Return to General