-
1. Re: ReRender Following Checking Checkbox
nbelaevski Dec 29, 2008 3:33 PM (in response to djeverson)Hello,
Can you please add rich:messages component to the page and check if there are any? -
2. Re: ReRender Following Checking Checkbox Issue
djeverson Dec 29, 2008 6:31 PM (in response to djeverson)I added the <rich:messages/> tag.
No messages are displayed following the checking of the checkbox.
I can't figure out what is going wrong here! Hopefully someone can help me out. -
3. Re: ReRender Following Checking Checkbox
oneilltg Dec 29, 2008 8:00 PM (in response to djeverson)We have seen a similar problem. I will do my best to clearly describe it.
We have a modal panel that initially has just three fields rendered, one of them a date. When a valid date is input, several more fields render, one of them a checkbox. That checkbox has an a4j:support event on it which causes other fields to be rendered when the checkbox is checked. When a valid date is input, we would like the checkbox to be initially checked (and the rich:panel displayed). However, when we initialize the checkbox to checked, the rich:panel associated with it does not get rendered when the valid date is input. If the user unchecks the box, then re-checks it, then the panel gets rendered. Our workaround was to make the checkbox default to un-checked even though 99% of the time the user will want it to be checked.