Thanks for the response, I am trying to implement your recommended solution,
however, It goes into the respond method and I did the following 
          public void respond(RequestCycle requestCycle) {
                        PageParameters param = new PageParameters();
                        param.add("error", errorMessage); //$NON-NLS-1$
                       try {
                                
((WebResponse)requestCycle.getResponse()).getHttpServletResponse().
                                        
sendRedirect(requestCycle.urlFor(pageClass, param).toString());
                                Session.get().invalidate();
                        } catch (IOException e) {
                                log.error("Error while redirecting to global 
error page", e);
//$NON-NLS-1$
                        } 
                } 

Please let me know if the above is correct.
However, I am seeing the following issue:
1. When the session expires, the session expiry page appears, and when click
on Browser back button, it takes me to previous page, but doesnt complete
rendering, as there are decode exceptions, but this time it does not render
the SessionExpiry page.

2. We also have a Global error page, when the application gets an RunTime
exception, we report it to global error page, I tried to use the same
concept there, but for this case, it does not redirect to the Global error
page, rather, just stays in the current page, as though it has consumed the
click.

Please let me know if you have any thoughts.
Thanks in advance
Kuga
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-Crypted-URL-tp1875435p2242335.html
Sent from the Wicket - User mailing list archive at Nabble.com.

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

Reply via email to