I have an edit page that can be reached from two different list pages. When the user is finished with the edit page I want to display the page that the user navigated from. For example if I had two list pages ListPageA and listPageB and the user navigates to the edit page from listPageA, then I want to display the listPageA page once the user has exited the edit page. If the user navigates to the edit page from listPageB then I would want to the user returned to ListPageB.
I have studied the seam gen applications and see that they pass a parameter of the calling page "from" into the target page. Then on the target page it uses this "from" parameter to navigate back to the calling page. Other than sending the calling page as a parameter is there any other way to handle this type of situation?
Take a look at jPDL pageflow definitions.