yup! works great
actually I had to use e.getCause() instanceof...
thanks (as usual) for the excellent help!
ryan
On Jun 23, 2009, at 11:19 PM, Igor Vaynberg wrote:
have you tried
class myrequestcycle extends webrequestcycle {
onruntimeexception(e) {
if (e instanceof pageexpiredexepti
have you tried
class myrequestcycle extends webrequestcycle {
onruntimeexception(e) {
if (e instanceof pageexpiredexeption) {
if (getrequst().isajax()) {
// this is an ajax request that caused pep exception
throw new abortwithhttpstatusexception
Is there anyway for an ajax call to catch the PageExpiredException?
I am using the jquery history plugin to load pages in wicket
(http://www.mikage.to/jquery/jquery_history.html) -- this lets me do
ajax updates with bookmarkable urls. The one issue I am having is
that if the session has expired i