myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Bischoff <jbisch...@klkurz.com>
Subject Re: about using ajax4jsf with selectOneRadio
Date Fri, 23 Mar 2007 13:30:00 GMT
Hmm I don't see what's wrong. Maybe conversion error? You should post 
question on the new ajax4jsf forum. See [1].

You might also want to take a look at their existing issue [2].

[1] http://jboss.com/index.html?module=bb&op=viewforum&f=259
[2] http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030828

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

lmk wrote:
> the code:
> 
> <h:panelGrid columns="2">
> 	<h:panelGroup styleClass="libelleDemande">
> 		<h:outputText value="Emp" />
> 	</h:panelGroup>
> 	<h:panelGroup styleClass="champsDemande">
> 		<h:selectOneRadio value="#{bean.person}">
> 			<f:selectItems value="#{bean.nbPersonItems}" />
> 			<a4j:support event="onclick" />
> 			<a4j:support event="onchange" />
> 		</h:selectOneRadio>
> 	</h:panelGroup>
> </h:panelGrid>
> <a4j:outputPanel ajaxRendered="true">
> 	<h:outputText value="#{bean.person}"></h:outputText>
> 	<h:panelGrid columns="2" rendered="#{bean.person == 2}">
> 		<h:panelGroup styleClass="libelleDemande">
> 			<h:outputText value="Co emp" />
> 		</h:panelGroup>
> 		<h:panelGroup styleClass="champsDemande">
> 			<h:inputText maxlength="10" size="10" value="#{bean.dateCoEmp}"
> 				converter="dateConverter">
> 			</h:inputText>
> 		</h:panelGroup>
> 	</h:panelGrid>
> </a4j:outputPanel>
> 
> when a select the first time the radio  2, the panel grid is displayed, and
> there is no  reaction on any another  cllick, the value still equal to 2..
> thanks
> NB: I'm developping with apache myfaces and facelets
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Jeff Bischoff wrote:
>> post the code
>>
>> lmk wrote:
>>> 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!!
>>>
>>
>>
>>
>>
> 




Mime
View raw message