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/10 14:48:01 UTC

[jira] Commented: (WICKET-3251) How to set custom HTTP response header in Wicket's Ajax responses?

    [ 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.