function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MG1MG1 

Rerender component after async process completes

I have an asynchronous process that runs on a scheduled basis. I have a VisualForce page with an action poller updating the status of the job while the user is on the page. I want to rerender a section of the page (output panel contaning a page block table) after the job is complete.

 

I tried having a field on the page that I updated when the job was complete and then using actionsupport with event onchange to update the table but that doesn't rerender the section ever though it looks like the field is updating ok.

 

The only thing that works is specifying the rerender attribute of the action poller to rerender the outputpanel, but that means I update everytime the polling occurs and I only want to rerender when the job is finished because the table can get fairly large.

 

Appreciate any help.