[
https://issues.apache.org/jira/browse/WICKET-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970173#action_12970173
]
Martin Funk commented on WICKET-3251:
-------------------------------------
The custom filter solution is prbobably nicer, if the needed values are within
reach of the filter.
Basically overriding getWebResponse() only has an effect for non-Ajax calls.
This is because the AjaxRequestTarget is calling getResponse(), which is final.
So the suggestion of the patch is to let it call getWebResponse().
> How to set custom HTTP response header in Wicket's Ajax responses?
> ------------------------------------------------------------------
>
> Key: WICKET-3251
> URL: https://issues.apache.org/jira/browse/WICKET-3251
> Project: Wicket
> Issue Type: Bug
> Reporter: Martin Funk
> Attachments: Wicket-3251.diff
>
>
> http://stackoverflow.com/questions/4397211/how-to-set-custom-http-response-header-in-wickets-ajax-responses/4399434#4399434
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.