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
Savvy AdminSavvy Admin 

Visualforce page button to trigger real-time rerender of output panel in another Visualforce page


I have 2 visualforce pages.

My first visualforce page is a pop-up page that has a command button. 

I want this button to be able to send data and trigger a rerender on my other visualforce page. 

Both of these visualforce pages are open at the same time, so I'm not sure about using page redirects.

Both visualforce pages are open at the same time, and when I click the command button or button in the first visualforce page, the other open visualforce page will rerender its output panel to show data coming from the first, the pop-up one.

Any ideas on implementing this?

Thanks in advance!

Best Regards,

Phil Fang | Developer
David HamburgDavid Hamburg
 Are they both using the same controller? Can you post some code?
Savvy AdminSavvy Admin
Hi David,

Happy new year!

Appreciate the response

Unfortunately, the 2 pages that are open at the same time have different controllers, and I am researching on an implementation to pass data and trigger actions on the other page real time, not after a page redirect or launch.

For example:

Page 1 = Open with a form

Page 2 = Pop up visualforce that is open at the same time
-there is a command button that is clicked on page 2
-this button click will pass data to page 1
-page 1 will rerender a block on the page that will also display the data from pop-up of page 2

I will post code soon.