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
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.

 

aballardaballard

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. 

Pradeep_NavatarPradeep_Navatar

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

http://wiki.apexdevnet.com/events/cookbook/pdf/salesforce_platform_cookbook.pdf

 

Hope this helps.