Re: wicketAjaxGet and PageExpiredException?

2009-06-28 Thread Ryan McKinley
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

Re: wicketAjaxGet and PageExpiredException?

2009-06-23 Thread Igor Vaynberg
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

wicketAjaxGet and PageExpiredException?

2009-06-23 Thread Ryan McKinley
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