[
https://issues.apache.org/jira/browse/WICKET-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947300#comment-15947300
]
Jeroen commented on WICKET-6349:
--------------------------------
If you use the following wicket-example:
http://examples7x.wicket.apache.org/stateless/wicket/bookmarkable/org.apache.wicket.examples.stateless.AjaxStatelessExample,
then:
# Add the following lines to the init method of StatelessApplication.java:
{code}
getPageSettings().setRecreateBookmarkablePagesAfterExpiry(false);
getApplicationSettings().setPageExpiredErrorPage(Index.class);//use the Index
page as Expiration page
{code}
# Start example application
# Go to
http://localhost:8080/stateless/wicket/bookmarkable/com.Maxxton.AjaxStatelessExample
# When you increment the counter, you end up on the expired page (Index)
> Stateless form does not work when RecreateBookmarkablePagesAfterExpiry is
> false
> -------------------------------------------------------------------------------
>
> Key: WICKET-6349
> URL: https://issues.apache.org/jira/browse/WICKET-6349
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.6.0
> Reporter: Jeroen
>
> When you set RecreateBookmarkablePagesAfterExpiry to false, you get a
> PageExpiredException when you use a stateless form/page.
> It is basically the same bug as described in
> https://issues.apache.org/jira/browse/WICKET-5521
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)