On Sun, 17 Jan 2010 15:41:08 -0200, Richard Hill <r...@su3analytics.com> wrote:

Hi All,

Hi!

I have an ExceptionReport.java, .tml to present a pretty error page to
users. However there is one page where I would like to have a different
exception page. Is this possible?

Simple answer: you can, but I think it's not worth the hassle. Just use some logic in your error page to show different content to different exceptions. You can also redirect to another page in your ExceptionReport page.

Sophisticated answer: override the RequestExceptionHandler service. Draw some inspiration from RequestExceptionHandlerImpl.

--
Thiago H. de Paula Figueiredo
Coordenador e professor da Especialização em Engenharia de Software com Ênfase em Java da Faculdade Pitágoras
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
Sócio, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to