external links do not use a wicket callback, you have to install a filter that intercepts those urls and sets the headers
-igor On Sat, Mar 14, 2009 at 10:11 PM, Alexita <ctgog...@hotmail.com> wrote: > > Hi, > I have a basic Internet banking application developed in wicket, everything > works fine on test, but in production with https, all links which try to > download a pdf were broken. That's an IE bug, but Microsoft is not > interested in fixing it(all other browsers work ok). > > I know the solution is set the response headers as follows: > response.setHeader("Cache-Control", "must-revalidate"); > response.setHeader( "Pragma", "public" ); > > Wicket allows to override response's headers (setHeaders(WebResponse > response)) but only for "webpage" subclasses. > > I using ExternalLinks added to a form not related at all with the webPage, > There's any way to override those headers? > I tried to do directly in the HTML as a META tags, but doesn't work either. > > or there are a better way to bypass this problem?? (not using IE is not an > option) > > Thanks in advance for any information you can provide. > > Alexa > -- > View this message in context: > http://www.nabble.com/Wicket-Application-bypassing--Internet-Explorer-file-downloads-over-SSL-do-not-work-with-the-cache-control-headers%E2%80%8F-tp22519881p22519881.html > Sent from the Wicket - User 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org