[ 
https://issues.apache.org/jira/browse/WICKET-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-3239.
-------------------------------------

    Resolution: Fixed

With r1045317 Wicket no more redirects after processing a stateless page.

When the page is stateless there is no bound session and there is no easy/nice 
way to construct a key to store the response in Application#storedResponses 
map. Since there is no session id, we can use a custom url parameter with 
temporary id that can be used in the constructed key, e.g. 
wicket:statelessid=asdfgh but this way the URL for all stateless pages gets 
"uglier". Another solution is to use a cookie to bring that key but it wont 
work when cookies are disabled.  

> for stateless pages wicket complains with "The Buffered response should be 
> handled by BufferedResponseRequestHandler"
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3239
>                 URL: https://issues.apache.org/jira/browse/WICKET-3239
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.5-M3
>            Reporter: Peter Ertl
>            Assignee: Martin Grigorov
>             Fix For: 1.5-M4
>
>         Attachments: WICKET-3239.patch, WICKET-3239.patch
>
>
> when initially rendering a __stateless__ page I get
>   "The Buffered response should be handled by BufferedResponseRequestHandler"
> it's logged by WebPageRenderer#respond(cycle) in line 185 in trunk.
> I don't know if this really is worth a warning, maybe we can just remove it.
> There's also method
>   WebPageRenderer#enableRedirectForStatelessPage()
> which seems to be somehow involved (and still contains a TODO which probably 
> should be resolved before 1.5.0)
> I would like to fix it for myself but don't know much about the background of 
> that warning.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to