You need to add Cache-control: no-store header to prevent firefox from caching the page on back button. Look at
WebPage#setHeaders(WebResponse response) -Matej On Wed, Apr 1, 2009 at 5:15 PM, Timm Helbig <timm.hel...@th-hosting.net> wrote: >> Is there some way to force the page to be reconstructed? > Don't use Ajax, use the default Button insteand > > Regards, > Timm > > Am Mittwoch, 1. April 2009 16:11:07 schrieb Steve Swinsburg: >> Hi all, >> >> I have a Page and on that page a Form which submits via Ajax. >> >> In this page's constructor I added a debug statement that prints a >> message when the constructor is called (for testing). I then submit >> the form, click away, then click Back and in Safari 4 for Mac, the >> page is reconstructed and I see my message again (good). Everything >> works ok (also good). >> >> However, in Firefox for Mac (and for PC and all IE flavours), clicking >> Back has the original search text in the box, and the page is NOT >> reconstructed. Clicking search again throws NPE's because certain >> elements are not initialised properly. >> >> Is there some way to force the page to be reconstructed? Is this some >> caching issue that is causing it to be not reconstructed and hence >> just reused? >> >> >> thanks, >> Steve > > > > --------------------------------------------------------------------- > 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