Re: Detecting if page is opened in another tab

2014-03-04 Thread Martin Grigorov
Hi, This behavior works only when you open the same page instance in another tab/window. I.e. only when the url contains the same mount path and page id Martin Grigorov Wicket Training and Consulting On Thu, Feb 27, 2014 at 7:21 PM, eaglei22 jchojnack...@gmail.com wrote: Thanks Martin,

Re: Detecting if page is opened in another tab

2014-02-27 Thread eaglei22
Thanks Martin, This seems to be the solution, but isn't working as it should. I tried this: add(new AjaxNewWindowNotifyingBehavior() { /** * */ private static

Re: Detecting if page is opened in another tab

2014-02-26 Thread Martin Grigorov
Hi, You are talking about pageMap so I am not sure which version of Wicket you use. Check whether org.apache.wicket.ajax.AjaxNewWindowNotifyingBehavior is available. Martin Grigorov Wicket Training and Consulting On Wed, Feb 26, 2014 at 1:29 AM, eaglei22 jchojnack...@gmail.com wrote: Hello,

Detecting if page is opened in another tab

2014-02-25 Thread eaglei22
Hello, I am running a thread that displays a list of results to the page. I want the user to be able to open the page only in one browser tab. If they open it in another tab then it will give an information message and not let them. I have a worker thread running, so I only want the list being