Hello
This code was working for me in 1.4:
WebResponse response = (org.apache.wicket.request.http.WebResponse)
getResponse();
response.setAttachmentHeader("List.xls");
response.setContentType("application/ms-excel");
OutputStream out = getResponse().getOutputStream();
WritableWorkbook workbook = Workbook.createWorkbook(out);
.....
.....
workbook.write();
workbook.close();
I see in 1.5 that there is no WebResponse.getOutputStream() - but it was
not marked as deprecated?
I have looked in the 1.5 migration guide but I can't see any obvious
solution.
Can someone please tell me how I should be doing this in 1.5.