<h:panelGroup>

            <h:selectBooleanCheckbox id="enrollSchoolSecContDispCB"
value="#{enrollHandler.isSecondaryContactDisplayed}">

                        <a4j:support id="enableContactCBEvent"
event="onchange" reRender="enrollSchoolSecContDispCB,secTechContPanel"/>

            </h:selectBooleanCheckbox>

            <h:outputText
value="#{bundle['enroll.school.include.sec.cont.info.label']}"/>

</h:panelGroup>

 

<a4j:outputPanel id="secTechContPanel"
rendered="#{enrollHandler.isSecondaryContactDisplayed}">

            ...couplde panelGrids

</a4j:outputPanel>

 

 

I've tried it with different events and with and without the checkbox id
in the reRender.

It never renders the contents of the outputPanel.  I can't tell that it
does anything.

I tried adding an action to the support but it doesn't call it either.

 

If I check the box and go to the next page and then return the
outputPanelDisplays so I know they are mapped correctly.

 

 

Shawn

________________________________

From: Adrian Mitev [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 10:16 AM
To: MyFaces Discussion
Subject: Re: ajax4jsf, checkbox, and reRender

 

Whats your issue? Please paste your code.

2007/2/1, Garner, Shawn <[EMAIL PROTECTED]>:

Has anyone had any problems getting a a4j:outputPanel to reRender when
checking a checkbox?

I'm having such issues and need some help.

 

Shawn 

 

************************************************************************
**** 

This email may contain confidential 
material. If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network.

 
************************************************************************
*** 

 

 


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to