[
https://issues.apache.org/jira/browse/WICKET-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644685#action_12644685
]
Johan Compagner commented on WICKET-1911:
-----------------------------------------
i am curious how we should fix this.
Because you are suddenly streaming binary data over the ajax response, what
should we do with it??
Also how can we redirect to it easily.. this would be a pretty special
redirecct because there is no page or shared resource to redirect to..
so somehow we have to create yet another redirect kind of url that then
redirects to that ResourceStreamRequestTarget that is stored in the session?
(but thatisnt serializable so thats a problem)
> setRequestTarget(ResourceStreamRequestTarget) doesn't work with AJAX
> --------------------------------------------------------------------
>
> Key: WICKET-1911
> URL: https://issues.apache.org/jira/browse/WICKET-1911
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-M3
> Environment: Win32 / Tomcat or Jetty
> Reporter: Adriano dos Santos Fernandes
> Attachments: ajax-resource-redirect.zip
>
>
> In test case attached, you see:
> RequestCycle.get().setRequestTarget(new ResourceStreamRequestTarget(
> new MyWebResource().getResourceStream()));
> doesn't work when clicking the AJAX link. The content is displayed inside the
> AJAX Debug Window instead of redirect the page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.