Re: http error on exception

2009-03-05 Thread Lutz Hühnken
The way I like to do it: decorate the exception handler in your AppModule.java /** * Decorate the exception handler in a way that it will just return error * code 500 in production mode. See * http://tapestry.apache.org/tapestry5/cookbook/exceptions.html On the * bottom o

Re: http error on exception

2009-02-25 Thread Peter Stavrinides
42 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: http error on exception Never tested it but you should be able to inject Response, call response.setStatus(500) and response.sendRedirect(Link/String). Uli Thomas Clavier schrieb: > Hello All, > > I search a solution to la

Re: http error on exception

2009-02-23 Thread Ulrich Stärk
Never tested it but you should be able to inject Response, call response.setStatus(500) and response.sendRedirect(Link/String). Uli Thomas Clavier schrieb: Hello All, I search a solution to launch an http error (500) when tapestry throw an Exception. I have found documentation on how to o