It does work a bit strange yeah. There is probably a way to do this better.
Eelco On 8/25/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > If my undestanding is correct the flow from the current example is such: > LogoutPage created > Page constructor adds the page to the pagemap > LogoutPage consturctor invalidates the session and thus clears the pagemap > LogoutPage constructor sets response page to itself > Wicket processes the response page and bails because there is no > session/pagemap > > This seems to be logical and is a shortcommig of the approach used > > With the link the invalidation of the session and the creating of the > "logout" page are switched so the page is in the pagemap when wicket tries > to process it. > > -Igor > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Eelco Hillenius > > Sent: Thursday, August 25, 2005 10:09 AM > > To: [email protected] > > Subject: Re: [Wicket-user] Logout > > > > Uermmmm... I'm having seconds thoughts about failing > > gracefully. In case the session did actually expire (in which > > case the session is empty as well) we usually do want to > > display a page expired page. > > > > Eelco > > > > On 8/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > That part still is a bit rough... We should fail gracefully if we > > > regconize our session is empty, and render the home page then. > > > > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & > > EXPO September 19-22, 2005 * San Francisco, CA * Development > > Lifecycle Practices Agile & Plan-Driven Development * > > Managing Projects & Teams * Testing & QA Security * Process > > Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
