You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/12/09 17:34:03 UTC

[jira] Updated: (WICKET-3239) for stateless pages wicket complains with "The Buffered response should be handled by BufferedResponseRequestHandler"

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

Martin Grigorov updated WICKET-3239:
------------------------------------

    Attachment: WICKET-3239.patch

I don't see a reason why to redirect for stateless page, so I think we can remove org.apache.wicket.request.handler.render.WebPageRenderer.enableRedirectForStatelessPage() completely.
But I don't have experience with stateless components so I may miss something.

Here is a patch that fixes the problem if this redirect is really needed. It just needs to introduce a constant for "stateless-" somewhere.

> 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
>         Attachments: 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.