Thijs Vonk created WICKET-4932:
----------------------------------

             Summary: Mounted page is not trowing ExpireException with setting 
setRecreateMountedPagesAfterExpiry(false)
                 Key: WICKET-4932
                 URL: https://issues.apache.org/jira/browse/WICKET-4932
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.4.0
            Reporter: Thijs Vonk


We have a page that is both bookmarkable (and accessible with certain page 
parameters) and has a second constructor taking an object. 
When ever the session time-out we want to show a session expired page. But we 
get a exception because Wicket is trying to rebuild the page with no page 
parameters. 
We have set the setting 
getPageSettings().setRecreateMountedPagesAfterExpiry(false); This works when 
clicking on (ajax)links, but it's not working when using the back/forward 
button in the browser (or javascript:history.go(-1)).

I'll attache a quickstart.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to