[ https://issues.apache.org/jira/browse/WICKET-6286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15804177#comment-15804177 ]
Sven Meier commented on WICKET-6286: ------------------------------------ Hi Jeremy, thanks for participating. Yeah, this solution is complex. Please explain how "you can achieve the same thing with resources". You're right that having a behavior serving the download isn't so great, because it locks the page. But it is very convenient :P. Note that because of this concern I added the possibility to download via a resource too. In this case the behavior is just used to set up the iframe. "It's an iframe" - yes, this seems to be the only solution currently to combine an Ajax request with a file download. > Would be good to have AjaxDownload available out of the box > ------------------------------------------------------------ > > Key: WICKET-6286 > URL: https://issues.apache.org/jira/browse/WICKET-6286 > Project: Wicket > Issue Type: New Feature > Components: wicket-extensions > Affects Versions: 8.0.0-M2, 7.5.0 > Reporter: Maxim Solodovnik > Assignee: Sven Meier > Labels: patch > > Currently every project need to create own AjaxDownload component based on > the Wiki example. > Unfortunately this component has some issues with WebSockets > Discussion: http://markmail.org/message/gizsnqh2qgypcgri > PRs: > https://github.com/apache/wicket/pull/190 > https://github.com/apache/wicket/pull/191 -- This message was sent by Atlassian JIRA (v6.3.4#6332)