Problem using h:selectOneRadio with Ajax update

Components, Ajax Framework, Utilities and More.
Post Reply
bjezze
Posts: 8
Joined: 09 Nov 2010, 18:20

09 Nov 2010, 18:26

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:

Code: Select all

<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

Post Reply
  • Information