Hi, I'm trying to export a POI worksheet as a download link in my wicket page. The link sets the responsepage to a download page in which trying to get the outputbuffer to write to. Only problem is that I keep getting this: "java.lang.UnsupportedOperationException: Cannot get output stream on BufferedResponse"
I looked at the code from the wicket-examples display-tag export the only thing I do differently is the way the page is created. The weird thing is that I only get it if I instantiate my response like: setResponsePage(new DownloadPage(data)); if I do setResponsePage(DownloadPage.class) it behaves correctly... I need to be able to pass data into the class...what am I missing here? /Mats ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
