You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by arch1990 <ni...@gmail.com> on 2013/07/25 12:50:57 UTC

How to close a browser tab in wicket?

I'm designing an application that has a close tab button which will log of
the parent window. I tried window.close() but it didn't seem to work.
PLease help me on how I can close the current tab.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-close-a-browser-tab-in-wicket-tp4660482.html
Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.

Re: How to close a browser tab in wicket?

Posted by Martin Grigorov <mg...@apache.org>.
A window/tab can be closed with JavaScript only if it has been opened with
JavaScript.

This is purely JavaScript question. There is nothing Wicket specific in it.
Please use Google/StackOverflow/... for more details.

Also please use users@wicket.apache.org for Wicket related questions.

Thanks!


On Thu, Jul 25, 2013 at 1:50 PM, arch1990 <ni...@gmail.com> wrote:

> I'm designing an application that has a close tab button which will log of
> the parent window. I tried window.close() but it didn't seem to work.
> PLease help me on how I can close the current tab.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/How-to-close-a-browser-tab-in-wicket-tp4660482.html
> Sent from the Forum for Wicket Core developers mailing list archive at
> Nabble.com.
>