I have the following scenario :-
- I do some query on a page using user input.
- User makes changes to the query and click 'Update' button
- User is redirected to a new page for confirmation where they are shown with old values and also the new ones
- Then user is asked to click 'Confirm'
The problem is that in the first page I did the query and the query results were stored in list, on 'Update' the list was copied into a new list, list data gets updated & user is directed to the confirmation page BUT now when the user is directed , I can't think of any way to pass both list to this new page.
I tried using the same apex controller for both pages BUT whenever I will get to the confirmation page the controller will be reloaded &its constructor will be called again & I will lose the data in the lists.
Can Someone Help me With THIS?