In rc1, there are methods setHeader, setDateHeader and setIntHeader (same as in HttpServletResponse) and WebResource has setHeaders(WebResponse). JasperReportsResource uses this.
Eelco On 9/16/05, leo <[EMAIL PROTECTED]> wrote: > Thanks Martjin. > > I've found a work around with > WebResponse.getHttpServletResponse() > > > > On 9/16/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > It should be fixed in 1.1-rc1. The bug report is for 1.1-b4, and was added > in rc1. > > > > > > > > > > On 9/16/05, leo <[EMAIL PROTECTED]> wrote: > > > > > > > you can override Resource.setHeaders(WebResponse response) > > > > > > I could'nt find any such method in wicket.Resource nor in > wicket.markup.html.WebResource. > > > I use wicket 1.1b3. Are you talking about these classes ? > > > > > > > > > > > > > > > > > > On 9/15/05, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > > > > See also: > > > > > > > > > https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1286190&group_id=119783 > > > > > > > > > > > > > > > > On 9/15/05, Martijn Dashorst <[EMAIL PROTECTED] > wrote: > > > > > I believe WebResource allows you to do this. > > > > > > > > > > Martijn > > > > > > > > > > > > > > > > > > > > > > > > > On 9/15/05, leo <[EMAIL PROTECTED]> wrote: > > > > > > Hello, > > > > > > > > > > > > Is there a way to define the content-disposition of the response ? > > > > > > > > > > > > If not, could it be added in the Response or WebResponse class ? > > > > > > > > > > > > The prototype should provide the way to define the filename in the > case of a attached disposition. > > > > > > > > > > > > Response.setContentDisposition( String disposition, String > filename ) > > > > > > or > > > > > > Response.setContentDisposition( {enum} disposition, String > filename ) > > > > > > > > > > > > > > > > > > > > > > > > Leo > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
