Re: Need to redirect to the current page upon a page expire - how??

2008-02-21 Thread Chris Lintz
That would work, except the search results do contain some AJAX functionality, which of course result in a stateful page. Mr Mean wrote: how about using a stateless searchpage? that way you should not get a page expired. Maurice On Thu, Feb 21, 2008 at 1:14 AM, Chris Lintz [EMAIL

Re: Need to redirect to the current page upon a page expire - how??

2008-02-21 Thread Igor Vaynberg
once a page has expired there is really no way to know what it was..thats kinda the point of stateful components eg if you have created your page like this: setresponsepage(new userdetailspage(user, org)); and you get a page expired error, even if you somehow kept track of the fact that it was

Need to redirect to the current page upon a page expire - how??

2008-02-20 Thread Chris Lintz
Hi, So i have searched the forums regarding overriding RequestCycle#onRuntimeException(Page page,RuntimeException e) . It seems we are completely stuck because there is no way to determine what page threw a PageExpiredException . What I want to do is this: When my SearchPage expires, and the

Re: Need to redirect to the current page upon a page expire - how??

2008-02-20 Thread Maurice Marrink
how about using a stateless searchpage? that way you should not get a page expired. Maurice On Thu, Feb 21, 2008 at 1:14 AM, Chris Lintz [EMAIL PROTECTED] wrote: Hi, So i have searched the forums regarding overriding RequestCycle#onRuntimeException(Page page,RuntimeException e) . It