Hello,

I have a custom WebRequestCycle which redirects the user to the home
page when user session times out as follows:

@Override
public Page onRuntimeException(Page page, RuntimeException e) {
    ....
    return new RedirectPage(homePageUrl);
}

The only problem is that when the redirect occurs in the modal panel
then the content of the modal panel is redirected to the home page
instead of the base page. How can I force the modal panel to close and
redirect the base page on session timeout?

Thanks,

Alec

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

Reply via email to