[
https://issues.apache.org/jira/browse/WICKET-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13834770#comment-13834770
]
Sven Meier edited comment on WICKET-5426 at 11/28/13 1:03 PM:
--------------------------------------------------------------
The regression of ONE_PASS_RENDER is caused by commit 22f1e04:
WICKET-3347 Simplify ... WebPageRenderer.respond()
Now #isPageStateless() is called prematurely in line #215 of WebPageRenderer.
Even worse, for a PageProvider with a pageClass only, the page instance gets
created unnecessarily in case of a redirect :(.
was (Author: svenmeier):
The regression of ONE_PASS_RENDER is caused by commit 22f1e04:
WICKET-3347 Simplify ... WebPageRenderer.respond()
Now #isPageStateless() is called prematurely in line #215 of WebPageRenderer.
Even worse, for a PageProvider with a pageClass only, the page instance gets
created unnecessarily before the redirect :(.
> Page not recognized as stateless although stateful component is hidden in
> #onConfigure()
> ----------------------------------------------------------------------------------------
>
> Key: WICKET-5426
> URL: https://issues.apache.org/jira/browse/WICKET-5426
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.12.0, 7.0.0
> Reporter: Sven Meier
> Priority: Minor
>
> Page#stateless gets cached. If Page#isStateless() is called before rendering,
> a page might not be considered stateless although in #onConfigure() all
> stateful components are hidden.
--
This message was sent by Atlassian JIRA
(v6.1#6144)