title: How to use a different Wicket expiration/error page for popups and other special pages?
body: <p>I have a custom error and expiration page in my wicket application. But in some cases, I would like to have them behave differently (e.g. in a popup that should NOT redirect us to home page). </p>
  
  <p>What are the options for the solution? I assume I can read the page parameters in my error/expiration page from the request object (e.g. "errorpage=no"). But how can I add this query parameter to specific pages in optimal way..? </p>
  
  <p>I'm quite certain someone has solved this already so this would be a great opportunity to share a nice solution here..</p>
  
  <p>Relatively similar question:
  <a href="https://stackoverflow.com/questions/9393902/how-to-change-wicket-behaviour-on-page-expired">How to change Wicket behaviour on Page Expired</a></p>