In my page (X) with a dataset, when user clicks a specific item, a new window (Y) opens. In this new window, there is a button 'Go back'. When user click this button, he/she returns to Y, and I want to show the dataset PAGE when was on the window X beforehand.
What I do:
1- In X -> When user press Go to specific item (page Y): I set session with dataset.getCurrentPageIndex()
2- In Y -> I read session and store the pageIndex sent from X into a variable
3- In Y -> When user press Go Back, I set session again from the variable I set in pevious step
4- Now I am in X back again but I don't know how to set dataset pageIndex coming from Y ???
Can you let me know how can I set the dataset pageIndex to the specific number coming from page Y?