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
SaleemBaba MohammedSaleemBaba Mohammed 

how to pass a list over a visual force pages

hi

 can any one help me pls

 

 i am trying to pass a list from one visual force to other

 

 is it possible

 

thanks 

mahabub

Best Answer chosen by Admin (Salesforce Developers) 
Tom DJTom DJ

I am not sure if there is an easy way, but if you don't get a response you can always serialize the array into a single string, pass it as a single URL parameter to the receiving page and then parse it and convert it back into an array in the receiving controller.

 

 

All Answers

Damien_Damien_

I know this is possible.  The way I would do it is to create a Controller or extension that is shared by both visualforce pages.  You  then transfer the state of the controller/extension over to the next page.  I'm not sure how exactly you do that part, but I know you can.  We discussed it shortly in the Advanced developer course.  It's a similar concept to using a controller/extension for creating a wizard.

Tom DJTom DJ

I am not sure if there is an easy way, but if you don't get a response you can always serialize the array into a single string, pass it as a single URL parameter to the receiving page and then parse it and convert it back into an array in the receiving controller.

 

 

This was selected as the best answer