You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Dirk Arnoldt <di...@1und1.de> on 2011/10/28 11:22:34 UTC

Determine the latest page in multi tabbed browsing

Hi,

I'm facing a problem with multi tabbed browsing.

In a wicket application I currently detect browser navigation (back 
button) by means of timestamps. As a result I display a warning to the 
user telling him that he should not use the back button and subsequently 
forward him to the next page in the browser history.

This works for me as long as the user doesn't use multiple browser tabs 
or windows. Is there a way to determine which pages belongs to the same 
browser tab/window?

Another problem with my current solution is, that the user can jump 
between arbitray pages in browser history. I want to redirect the user 
to the latest page from my application - which must not be the newest 
page in browser history. Is there a way to determine the latest page in 
a wicket session?

Thanks
Dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Determine the latest page in multi tabbed browsing

Posted by Igor Vaynberg <ig...@gmail.com>.
since wicket provides backbutton support why are you fighting it?

-igor

On Fri, Oct 28, 2011 at 2:22 AM, Dirk Arnoldt <di...@1und1.de> wrote:
> Hi,
>
> I'm facing a problem with multi tabbed browsing.
>
> In a wicket application I currently detect browser navigation (back button)
> by means of timestamps. As a result I display a warning to the user telling
> him that he should not use the back button and subsequently forward him to
> the next page in the browser history.
>
> This works for me as long as the user doesn't use multiple browser tabs or
> windows. Is there a way to determine which pages belongs to the same browser
> tab/window?
>
> Another problem with my current solution is, that the user can jump between
> arbitray pages in browser history. I want to redirect the user to the latest
> page from my application - which must not be the newest page in browser
> history. Is there a way to determine the latest page in a wicket session?
>
> Thanks
> Dirk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Determine the latest page in multi tabbed browsing

Posted by "robert.mcguinness" <ro...@gmail.com>.
martin,

would be awesome if you could through up a github project of wicket + ajax +
history as an example of how to get all this to work.

rob

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Determine-the-latest-page-in-multi-tabbed-browsing-tp3947526p3991713.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org