The page is probably your homepage and the homepage is referenced using a bookmarkable link. The bookmarkable URL is causing the reconstruction of the page. If you mount the page using a Hybrid url encoding strategy, it will work as you expect.
Martijn On 1/9/08, Don Parsons <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm new here. I'm just starting to learn wicket. And only done simple JSPs > before. I'm trying a very simple example, and I just want to understand > how > things are working in wicket. I've made just one page, where it has a > counter link, when I click the link I increment the counter, which a Label > in the page has its PropertyModel based on (the counter). It all works > fine, > but I noticed that, when I click the back button of the browser, the > constuctor on my page is called again, and I'm back at zero. My > understanding is that the previous page is stored on disk, so shouldnt > clicking the back button show you the page with its old state (zero > counter) > but without creating a page instance again? > > Thanks. > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0
