Hi, See how ResourceLink does it.
On Mon, Nov 14, 2011 at 12:48 PM, Neill Rosenthal <[email protected]> wrote: > 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. > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
