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

Sven Meier commented on WICKET-6286:
------------------------------------

I hear you ;)

There are a few issues I'd like to have addressed before we put this into 
extensions:

- I don't think it's a good idea to introduce a field for the resource stream, 
this will invite people to keep large data inside the component tree (e.g. a 
StringResourceStream with the generated content)
- it would be nice to support resource references too, so that the page is not 
locked while the download is generated
- example and tests are missing

Furthermore I'm playing with 
https://github.com/johnculviner/jquery.fileDownload currently. I have a 
prototype running that allows to display a popup/information while the download 
is generated.

I'll push a branch this weekend, perhaps you have time to look at it?

> 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)

Reply via email to