+ Start a Discussion
Nisar AhmedNisar Ahmed 

How to pass parameters from one VF page to another.

Hi All,


I want to pass 2 parameters 'ID' and 'stringvalue' from VF page 'A'  to VF page 'B'.

And again i want to retrieve back those parameters from page 'B' to page 'A'.


Please let me know if you have any idea or suggestion or simple example for this scenario.



If both pages use the same controller you cn just pass them through variables in the controller.   Otherwise you can pass them as query parameters on the urls. 


There is a very good example of Wizard creation on page number 269 in cookbook :



Hope this helps.