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
Aki99Aki99 

Access the component of another visualforce page in a visualforce page

Hi,

I want to open a popup page in my custom visualforce at an event and when the user clicks on the submit button the popup page closes and rest of the parent page components are rendered true.

I was able to open the poppage and also to close that after submit but how can i render the rest components of the parent page to true after submit?

Any ideas will be helpful

 

Thanks in advance

 

Aakash

Best Answer chosen by Aki99
Aki99Aki99

Yes I got this working by using the same controller class for both the pages.

I have set the renderd attribute value of the output panel of the parent page to true when user clicks the submit button on the child page but the parent page output panel is not visible even after then. It needs the page to be refreshed to load the new values of class variables back to the VF page but then the initial value for that rendered variable is again set to false and I also have to re enter the data I had enterd in the page before refresh.

Is there any way to achieve this without refreshing the page?

 

Regards,
Aakash