+ Start a Discussion
lakslaks 

Passing parameters across pages via controller

Hi,

 

Can anybody tell me how to pass parameters across pages via the controller.

 

I have the same controller associated with 3 pages.

 

And I want the value I set in the 1st page to be available for display on the 3rd page.

Is it possible to do the same via the controller ?

 

 

Regards,

Lakshmi.

Best Answer chosen by Admin (Salesforce Developers) 
Harpreet On CloudHarpreet On Cloud

If you are using the same controller in all three pages, you do not need to pass any information as parameter, the value of variables is retained if the pages use the same controller.]

All Answers

Baktash H.Baktash H.

You could try to pass the values in the Url.

Harpreet On CloudHarpreet On Cloud

If you are using the same controller in all three pages, you do not need to pass any information as parameter, the value of variables is retained if the pages use the same controller.]

This was selected as the best answer
lakslaks

Thank you all for the replies.

 

Harpreet, was able to access the values as you metioned. Thank you.

 

Regards,

Lakshmi.