Hello: I have a specific goal of set a error handler so that when a page (whether bookmarkable or not) throw exceptions during instantiation, it would go back to the previous page (if previous page does not exist, such as accessed via a bookmark, then go to home page) at least an error page would have a link to point to the previous page. I have seen many discussions on how to use pagemap/accesstack/backbutton,etc. My need here is specific and single purpose simplified (only for page creation exception handling and only needs to know the previous page object). I could not find an simple API for this. any advice would be appreciated.
I wish I could use something session.getLastCreatedPageObject() where wicket would always have a ref in each session for the last page object it creates successfully, regardless of bookmarkable or not. Thank you in advance.
