[ 
https://issues.apache.org/jira/browse/WICKET-6286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15847639#comment-15847639
 ] 

Martin Grigorov commented on WICKET-6286:
-----------------------------------------

bq. With document.location you lose handling of error cases - the browser just 
shows an http error page :/.

The demo page works fine with document.location. It properly hides the message 
once the download is finished.

bq. Why would anyone not want to use an iframe?
I've added the document.location because of the caching issues [~Jezza] had 
experienced with iframe.
The iframe is still the default, so one can switch to document.location if this 
is true. 

> 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.15#6346)

Reply via email to