You need to sign in to do that
Don't have an account?
Nupur Modi
Rerender an output panel dynamically
I have an apex:repeat. And an output panel inside of the repeat. If the repeater has 10 iterations, this means that I have 10 output panels on the page each with a dynamic id generated at the time when the page was rendered. Now on the click of a button, I want to rerender only 1 out of these 10 panels. Is it possible?
Nupur Modi
Nupur Modi
I have done this by example:
So according to condition only few output panel will be rendered. You can use other visualforce functions instead.
On the first load, it needs to render all the output panels. Thereafter, we need to rerender any one of the panels on the click of a button. For all the panels, the id will be dynamically generated. So we cannot specify the id in the rerender attribute of the action function.
There should not be any role of Ids as are always unexprected. Well you can use solution like: