Re: Redirect on exception

2015-09-11 Thread Nathan Quirynen
wrote: On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: How can I set a redirect when an exception has been thrown? But this seems to only work for non-XHR requests? Or did I forget something here? If you are on T5.4, you can simply contribute an

Re: Redirect on exception

2015-09-11 Thread Nathan Quirynen
as an external module: http://www.tynamo.org/tapestry-exceptionpage+guide/ Kalle On 10/09/15 17:45, Kalle Korhonen wrote: On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: How can I set a redirect when an exception has been thrown? But this seems

Redirect on exception

2015-09-10 Thread Nathan Quirynen
Hi, How can I set a redirect when an exception has been thrown? I tried the following: @Match("RequestExceptionHandler") public static RequestExceptionHandler decorateRequestExceptionHandler(final Response response) { return new RequestExcept

Re: Redirect on exception

2015-09-10 Thread Nathan Quirynen
I'm still on 5.3.7. Can't update to 5.4 yet sadly. Any options for 5.3.7? On 10/09/15 17:45, Kalle Korhonen wrote: On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: How can I set a redirect when an exception has been thrown? But this seems to onl

Re: Redirect on exception

2015-09-10 Thread Kalle Korhonen
On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > How can I set a redirect when an exception has been thrown? > But this seems to only work for non-XHR requests? Or did I forget > something here? > If you are on T5.4, you can simply contr

Re: Redirect on exception

2015-09-10 Thread Ido Dovrat
, Bnei Brak 5126237, Israel On Thu, Sep 10, 2015 at 5:56 PM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Hi, > > How can I set a redirect when an exception has been thrown? > > I tried the following: > > @Match("RequestExceptionHandler") >

Re: Redirect on exception

2015-09-10 Thread Nathan Quirynen
When creating a page that implements ExceptionReporter it works for both XHR and non-XHR, but I don't want it to be a popup on XHR requests, I want it to redirect to this page. On 10/09/15 16:56, Nathan Quirynen wrote: Hi, How can I set a redirect when an exception has been thrown? I tried

Re: Redirect on exception

2015-09-10 Thread Nathan Quirynen
rhonen wrote: On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: How can I set a redirect when an exception has been thrown? But this seems to only work for non-XHR requests? Or did I forget something here? If you are on T5.4, you can simply contribut

Re: Redirect on exception

2015-09-10 Thread Nathan Quirynen
(version 8+). What can be the problem here? On 10/09/15 16:56, Nathan Quirynen wrote: Hi, How can I set a redirect when an exception has been thrown? I tried the following: @Match("RequestExceptionHandler") public static RequestExceptionHandler decorateRequestExceptionHan

Re: Redirect on exception

2015-09-10 Thread Kalle Korhonen
> > > On 10/09/15 17:45, Kalle Korhonen wrote: > >> On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < >> nat...@pensionarchitects.be> wrote: >> >> How can I set a redirect when an exception has been thrown? >>> But this seems to onl

Re: Redirect on exception

2015-09-10 Thread Kalle Korhonen
>> >> Kalle >> >> >> >>> On 10/09/15 17:45, Kalle Korhonen wrote: >>> >>> On Thu, Sep 10, 2015 at 7:56 AM, Nathan Quirynen < >>>> nat...@pensionarchitects.be> wrote: >>>> >>>> How can I set a r

Re: Redirect from Exception Page (with Tomcat) in 5.1

2009-06-15 Thread P . Stavrinides
June, 2009 14:53:53 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Redirect from Exception Page (with Tomcat) in 5.1 Hi, I'd like to have all Exception of my Application handled by its special ExceptionReport in the way that on the production system the ExceptionReport directly

Re: Page redirect with exception

2006-12-01 Thread Renat Zubairov
Thank you very much. It works perfectly. Renat On 29/11/06, Sam Gendler [EMAIL PROTECTED] wrote: throw new RedirectException(link.getURL()); --sam On 11/28/06, Renat Zubairov [EMAIL PROTECTED] wrote: Hello, How can I create a Page Redirect (not forward) with exception. I know that

Re: Page redirect with exception

2006-11-29 Thread Sam Gendler
throw new RedirectException(link.getURL()); --sam On 11/28/06, Renat Zubairov [EMAIL PROTECTED] wrote: Hello, How can I create a Page Redirect (not forward) with exception. I know that listener method may return ILink, then page redirect will happen, but what is analogue of the

Page redirect with exception

2006-11-28 Thread Renat Zubairov
Hello, How can I create a Page Redirect (not forward) with exception. I know that listener method may return ILink, then page redirect will happen, but what is analogue of the PageRedirectException that will do redirect and not forward? Thank you, -- Best regards, Renat Zubairov