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!!
>> 
> 
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/about-using-ajax4jsf-with-selectOneRadio-tf3446617.html#a9631458
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to