Yes if you dont want to have page expires you could try to use bookmarkable pages all the way and use the hybrid coding to get mixed book/session pages.
Or store something in the db record the last page for every user... On 12/06/2009, Jeremy Thomerson <[email protected]> wrote: > the path is stored in the session, so as long as your app server > reloads existing sessions on restart, it should (iirc). however, in > your dev environment, the app server probably blows away sessions > > hrmmmm, i just re-read and realized that you said this is for the > PageExpired.... which is typically encountered when you lost your > session - so this won't work for that. But it will work if I go back > twenty pages and click a link - not super helpful. Sorry. > > -- > Jeremy Thomerson > http://www.wickettraining.com > > > > > On Fri, Jun 12, 2009 at 2:13 PM, Christopher L > Merrill<[email protected]> wrote: >> Wow, I hope it's really that easy!?! >> >> Should this work through an appserver restart? E.g. if I >> 1) login to the app >> 2) restart the app server >> 3) click a page link in the browser >> >> Should this work? It didn't for me. Based on my limited understanding of >> how wicket works and stepping into the code, it kinda looks like it might >> not? >> >> Chris >> >> >> >> >> Jeremy Thomerson wrote: >>> >>> in your login form submit, call continueToOriginalDestination() >>> >>> onSubmit() { >>> if (false == continueToOriginalDestination()) { >>> setReturnPage(SomeOtherPage.class); >>> } >>> } >>> >>> -- >>> Jeremy Thomerson >>> http://www.wickettraining.com >>> >>> >>> >>> >>> On Fri, Jun 12, 2009 at 1:45 PM, Christopher L >>> Merrill<[email protected]> wrote: >>>> >>>> I've changed out PageExpiredErrorPage to be the login page for our app. >>>> Does wicket have any support built-in to help return the user to where >>>> they were after re-authenticating? >>>> >>>> From my modest understanding of Wicket, it would need to be a >>>> bookmarkable >>>> page, which will be ok for a good percentage of the pages in our system. >>>> >>>> Any suggestions? >>>> TIA! >>>> Chris >>>> >>>> >>>> -- >>>> ------------------------------------------------------------------------ >>>> - >>>> Chris Merrill | Web Performance, Inc. >>>> [email protected] | http://webperformance.com >>>> 919-433-1762 | 919-845-7601 >>>> >>>> Website Load Testing and Stress Testing Software & Services >>>> ------------------------------------------------------------------------ >>>> - >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> >> -- >> ------------------------------------------------------------------------ - >> Chris Merrill | Web Performance, Inc. >> [email protected] | http://webperformance.com >> 919-433-1762 | 919-845-7601 >> >> Website Load Testing and Stress Testing Software & Services >> ------------------------------------------------------------------------ - >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
