Hi,

you can register a listener in your application's init() and handle the exception there:

getRequestCycleListeners().add(new AbstractRequestCycleListener() {

    @Override
    public IRequestHandler onException(RequestCycle cycle, Exception ex)
    {
        if (ex instanceof PageExpiredException) {
            // handle exception
        }

       return null;
    }
});

Have fun
Sven



Am 19.06.2018 um 19:26 schrieb christophe:
Hello Sven

First of all thank you very much for you very quick answer. And I do
apologize for not responding earlier. I have been quite busy lately and
perhaps distracted as well.

I did as you recommended. In other words I implemented the  class the link
suggests and configured the application .

IT works up to a certain point:
When I clink on the browser back button, a "stale page" page is displayed.
This is good as the "previous" page is not served by the application. THis
is aht I want... Well almost...
I have been unable to catech the exception not to find aly way to get Wicket
to "redisplay" the page I want or at least let me indicate vi a
seResponsePage what page I want it to display

Can you help me with this please?

Regards

Christophe

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

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



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

Reply via email to