org.apache.wicket.request.resource.ContentDisposition ContentDisposition.INLINE ContentDisposition.ATTACHMENT
resourceResponse.setContentDisposition(contentDisposition); François Le 31 mars 2015 à 13:35, ChambreNoire <[email protected]> a écrit : > 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 message in context: > http://apache-wicket.1842946.n4.nabble.com/Download-serves-empty-files-with-correct-number-of-pages-tp4670117p4670125.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
