Well I'm closer, I could retrieve the page doing this:

getSession().getPageManager().getPage(1)

This gives me the LAST version of "HomePage"

Now, how can I know that page id "1" is the one I'm interested?

Maybe I can save this id in the session, in the HomePage constructor? any ideas?

On Thu, Oct 25, 2012 at 11:37 AM, Alfonso Quiroga
<[email protected]> wrote:
> Hi, I'm using Wicket 1.5RC7. I have only 2 pages (Login, and HomePage)
>
> HomePage has state and you can do things like search, etc.
>
> When the user hits "BACK BUTTON" trying to go to Login, I want to
> redirect it to HomePage, but with the last state. With exceptions, I
> have used PageRequestHandlerTracker which works fine, but it does NOT
> work for this case.
>
> Anyone knows how to retrieve the "current" (or last) version of a page
> from PageStore? thanks!!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to