You need to sign in to do that
Don't have an account?
Sahid Bangura
rerender loses selected radio button
Hi all,
When I click a particular button, it rerenders the entire page. The problem is that I have a PageBlockTable within an outputPanel that is also rerendered when the button is clicked. This causes the PageBlockTable to lose the selected radio button.
Is there a way that I can skip rerending on a particular section even though the entire page is refreshed or is there a way to get the selected radio button and have it selected after the page is rerendered?
When I click a particular button, it rerenders the entire page. The problem is that I have a PageBlockTable within an outputPanel that is also rerendered when the button is clicked. This causes the PageBlockTable to lose the selected radio button.
Is there a way that I can skip rerending on a particular section even though the entire page is refreshed or is there a way to get the selected radio button and have it selected after the page is rerendered?
You need to use ActionRegion. For more detail prefered below URL.
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_actionRegion.htm
Thanks
Hemant
I tried wraping the actionRegion tags around the pageBlockTable and it didn't work. Am I missing something here or did I do it wrong?