[
https://issues.apache.org/jira/browse/WICKET-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970170#action_12970170
]
Martin Grigorov commented on WICKET-3251:
-----------------------------------------
The attached diff doesn't make sense. Just different way to cast.
I prefer the solution with the custom filter, but using
WebRequestCycle.get().getWebResponse().setHeader() should be ok.
Can you attach a quickstart that shows the problem ? I think custom
WebRequestCycle should work for Ajax as well. I see no difference.
> 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.