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
Bhakti GujarathiBhakti Gujarathi 

Passing a list as parameter to a vf page

I have 2 vf pages and a common controller. on first page the list is populated and now when i am redirected to 2nd page i want to use same list?
but on 2nd page i m getting the list as null. what can be work-arround for this?
Arthur ImirzianArthur Imirzian
You should use setRedirect(false) on your visualforce page.
If set to false, the redirect is a server-side forward that preserves the view state if and only if the target page uses the same controller and contains the proper subset of extensions used by the source page.

Salesforce Doc
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_System_PageReference_setRedirect.htm
 
Bhakti GujarathiBhakti Gujarathi
for my problem this isn't working...
thnkx for help..
 
Arthur ImirzianArthur Imirzian
How do you redirect to 2nd page ?