Return Anywhere, Using Hidden Field, Page 1

The values you enter here will be restored on return from Page 2 or 3.
There can be many paths to a page, yet this technique allows any page to send you back to its caller, with all values restored!

As you go forward through the pages they push their details onto a "callbacks stack".
They share the "callbacks stack" with the next page via a session-scoped object.
As you return through the pages they find out who called them by popping their details off the "callbacks stack".
As each page is displayed it keeps a snapshot of the stack just in case the user comes back via the Back or Forward buttons.

The technique is the same as Return Anywhere Page, Using Client Persistence except in how the snapshot of the stack is handled. Here, it is stored in a Hidden component which you add to the page's HTML template, which is a little disruptive.

First Name:
Last Name:



To Login