OK so the empty PDFs where due to some strangeness with the build config
which is fixed. The filename and extensions are added by
item.getModelObject().getFile(). So it works fine now however using
DownloadLink the file still downloads rather than is opened in a new tab.
Any ideas?
--
View this
org.apache.wicket.request.resource.ContentDisposition
ContentDisposition.INLINE
ContentDisposition.ATTACHMENT
resourceResponse.setContentDisposition(contentDisposition);
François
Le 31 mars 2015 à 13:35, ChambreNoire a...@tentelemed.com a écrit :
OK so the empty PDFs where due to some
Is there an easy way of overloading the ContentDisposition.ATTACHMENT already
used in DownloadLink?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Download-serves-empty-files-with-correct-number-of-pages-tp4670117p4670127.html
Sent from the Users forum mailing list