RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
that works! Best, Martin -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Wednesday, March 17, 2010 5:45 PM To: users@wicket.apache.org Subject: Re: Prevent SessionExpiredPage from opening in a modal window you can add a bit of js to your custom pageexpiredpage

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-18 Thread Martin Asenov
for this. Best, Martin -Original Message- From: Martin Asenov [mailto:mase...@velti.com] Sent: Thursday, March 18, 2010 10:02 AM To: users@wicket.apache.org Subject: RE: Prevent SessionExpiredPage from opening in a modal window Unfortunately, the session expired page still opens in a modal window

Re: Prevent SessionExpiredPage from opening in a modal window

2010-03-17 Thread Igor Vaynberg
you can add a bit of js to your custom pageexpiredpage, something that looks like this: if (window.opener!=null) { window.opener.location=window.location; } -igor On Wed, Mar 17, 2010 at 2:23 AM, Martin Asenov mase...@velti.com wrote: Hello, guys! I'm, wondering if I could prevent my

RE: Prevent SessionExpiredPage from opening in a modal window

2010-03-17 Thread Martin Asenov
- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Wednesday, March 17, 2010 5:45 PM To: users@wicket.apache.org Subject: Re: Prevent SessionExpiredPage from opening in a modal window you can add a bit of js to your custom pageexpiredpage, something that looks like