You need to sign in to do that
Don't have an account?

Passing List from VF Page to another VF Page
Hi,
I have a controller class and a VF page that display a list of records from which a user can select any number of records. Once a user check marks the records, they are displayed in second section of VF page.
Now again on second VF page (PDF page), I want to display the list again with extra information. But that list is not getting carried forward from one page to another.
Please suggest me as to what shall be done.
Thanks
Hi
see this
http://boards.developerforce.com/t5/Visualforce-Development/can-i-pass-a-list-of-object-from-one-vf-page-to-another-vf-page/td-p/428787
Hi,
Thanks for the reply. I did read the post earlier but couldn't fix my issue.
I have followed this link to get list of records and when user selects the records, they get stored in a list.
If I write System.debug() to print the selected list in constructor, it prints.... () ....empty wrapperclass list.
Why I am not able to fetch the selectedList from another method into the constructor?
It seems like a wizard. Sharing the same controller between the two pages simplifies things quite a bit - are you using a common controller?
This post resolves an issue very simiar to yours - have a read.
http://boards.developerforce.com/t5/Visualforce-Development/Two-VF-pages-sharing-one-controller-data-not-available-in-second/td-p/436507
I am using the same controller. I am still not able to fix the issue.