well, if you say so, we have problem :) I use FileOutputStream while
generating excel file. For last hope I write my logic below here,


onClick(){

HSSFWorkbook hwb;
FileOutputStream fileOut;
hwb.write(fileOut);

byte[] bai = hwb.getBytes();
ByteArrayResource byteArrayResource = new 
ByteArrayResource("application/vnd.ms-excel", bai, "ayrint.xls"); 
RequestCycle.get().scheduleRequestHandlerAfterCurrent(new 
ResourceRequestHandler(byteArrayResource, null)); 

}

Do you have any extra idea?


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/TableComponentAsXlsHandler-Problem-tp4616754p4620360.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to