[ https://issues.apache.org/jira/browse/WICKET-1911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644696#action_12644696 ]
Adriano dos Santos Fernandes commented on WICKET-1911: ------------------------------------------------------ Yes. Can't the setRequestTarget(ResourceStreamRequestTarget) create a temp (ajax, for the current page) url that will be sent to the browser, detected as redirection by the wicket-ajax javascript and refetched as non-ajax? > 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.