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

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

One thing that bothers me a bit: how one can set anti-cache parameter for the 
case when a resource reference is used ?
The only way to set parameters is via 
org.apache.wicket.extensions.ajax.AjaxDownload#AjaxDownload(org.apache.wicket.request.resource.ResourceReference,
 org.apache.wicket.request.mapper.parameter.PageParameters) but PageParameters 
can contain static values.
org.apache.wicket.extensions.ajax.AjaxDownload#onBeforeDownload() is called 
after the generation of the url, so it doesn't help too.
Maybe we should pass IProvider<PageParameters> to the constructor instead ?

> 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