the path=x doesnt have anything to do with backbutton support it is the extra param version=x that is added when a page is changed that does the trick
path=x only points to a page in the session (pagemap) by default 10 pages are kept there. If you change a page voor example replace a panel/component or set the visibility or change a model data of one of the components on the page the version of a page will be incremented (then you see page=3&version=1). If we then get a request with version=0 (or only path=3, version=0 then) we rollback youre change that you did above so that the page is in version state 0 again On 10/15/05, David Pereira <[EMAIL PROTECTED]> wrote: > > I'm trying to understand how wicket deals with > problems related to the browser back button. I know > that there's a parameter named "path" which is > incremented on every request and it is compared to an > attribute in session. > > My questions are: > > 1. If we use the back button, the parameter value > becomes lower than the session value then the page is > marked as expired. Is this the main rule? If not, what > is it? > > 2. How is the session attribute incremented on every > request? > > 3. How is the parameter value set? I mean, I don't put > any hidden field in my forms with the name "path" > neither I write the parameter on my URL, so how it > went there on the URL? > > If possible, I want more technical answers, not just a > brief explanation. I'm trying to learn to show wicket > in a java web development course in the future. I > appreciate any help. :) > > David. > > > > > > > > > > _______________________________________________________ > Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e > concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
