You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jeroen (JIRA)" <ji...@apache.org> on 2017/03/29 15:05:41 UTC
[jira] [Comment Edited] (WICKET-6349) Stateless form does not work
when RecreateBookmarkablePagesAfterExpiry is false
[ https://issues.apache.org/jira/browse/WICKET-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947300#comment-15947300 ]
Jeroen edited comment on WICKET-6349 at 3/29/17 3:05 PM:
---------------------------------------------------------
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/AjaxStatelessExample
# When you increment the counter, you end up on the expired page (Index)
was (Author: jeroen1979):
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)