Hello,
Iam using a FileResourceStream to download a file. This needs an File, which I
create on the fly like this:
tempFile = File.createTempFile(SLA, .xls);
InputStream data = new
ByteArrayInputStream(ConsoleDataHandlerImpl.getInstance().getReportAsByteStream(beginDate,endDate));
You can use a org.apache.wicket.request.resource.ByteArrayResource
instead - It's an IResource implementation that takes a byte array. You
can then use the resource in a DownloadLink, for example.
Carl-Eric
On Mon, 14 Apr 2014 12:11:06 +0200
christoph.ma...@t-systems.com wrote:
Hello,
Iam
Hi,
On Mon, Apr 14, 2014 at 2:03 PM, Carl-Eric Menzel cmen...@wicketbuch.dewrote:
You can use a org.apache.wicket.request.resource.ByteArrayResource
instead - It's an IResource implementation that takes a byte array. You
can then use the resource in a DownloadLink, for example.