You need to sign in to do that
Don't have an account?
bond006
Two Visual force pages and one controller
Hi,
I have created 2 visualforce pages with one controller.
First Page: It has a multiselect picklist which shows a list of string. Once values are selected and a button is clicked then it goes to second page.
Second Page: The First Column is a list of another string that are generated from the code.It shows a table with columns as the list that it got from the First Page. The table values or the data in the table is from a wrapper class.
Fucntion : Once clicked on Save Button then wrapper list will be sent back to method in the controller and it saves.
Problem: The controller is not getting the values from Second Visualforce page. Once we call for the list it is giving old values.The list is controlling the values that are put into it to show on the table. The list is not getting updated with the changes.
I have created 2 visualforce pages with one controller.
First Page: It has a multiselect picklist which shows a list of string. Once values are selected and a button is clicked then it goes to second page.
Second Page: The First Column is a list of another string that are generated from the code.It shows a table with columns as the list that it got from the First Page. The table values or the data in the table is from a wrapper class.
Fucntion : Once clicked on Save Button then wrapper list will be sent back to method in the controller and it saves.
Problem: The controller is not getting the values from Second Visualforce page. Once we call for the list it is giving old values.The list is controlling the values that are put into it to show on the table. The list is not getting updated with the changes.
If you're still struggling, then go ahead if you would and post a snippet of your controller and VF pages (using the < > button above) so we can be of better assistance.
Thanks&Regards
I have not setRedirect to true so that it passes that RightList to the second page. The Second Page is displaying fine but while saving SET returning the old values not updated values. And I am using the Apex Page tag same in both pages.