You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Craig Hamilton <ta...@spintop-games.com> on 2006/04/24 21:21:14 UTC

Production Error Page

Hi,

I am ready to move my Tapestry app to production.  I want to override the
error report page to something a little more user friendly.  I have been
searching the docs, google, etc and haven't been able to find much
information.

Does anyone have suggestions on the issues I have to consider with this
form?  I would like to email support when there are unexpected errors, and
just give the user a nice dialog that says it will be addressed.

Thanks in advance,
Craig




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Production Error Page

Posted by Angelo Luis <an...@gmail.com>.
http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.error.html

Override exceptionPageName, in your hivemodule.xml

On 4/24/06, Craig Hamilton <ta...@spintop-games.com> wrote:
>
> Hi,
>
> I am ready to move my Tapestry app to production.  I want to override the
> error report page to something a little more user friendly.  I have been
> searching the docs, google, etc and haven't been able to find much
> information.
>
> Does anyone have suggestions on the issues I have to consider with this
> form?  I would like to email support when there are unexpected errors, and
> just give the user a nice dialog that says it will be addressed.
>
> Thanks in advance,
> Craig
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>

Re: Production Error Page

Posted by Konstantin Ignatyev <kg...@yahoo.com>.
Simply create Exception page under WEB-INF and back it with code that has Exception property, that is it.

public abstract class ExceptionPage extends BasePage {

  public abstract void setException( Throwable e );
  public abstract Throwable getException();

}

Craig Hamilton <ta...@spintop-games.com> wrote: Hi,

I am ready to move my Tapestry app to production.  I want to override the
error report page to something a little more user friendly.  I have been
searching the docs, google, etc and haven't been able to find much
information.

Does anyone have suggestions on the issues I have to consider with this
form?  I would like to email support when there are unexpected errors, and
just give the user a nice dialog that says it will be addressed.

Thanks in advance,
Craig




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org




Konstantin Ignatyev




PS: If this is a typical day on planet earth, humans will add fifteen million tons of carbon to the atmosphere, destroy 115 square miles of tropical rainforest, create seventy-two miles of desert, eliminate between forty to one hundred species, erode seventy-one million tons of topsoil, add 2,700 tons of CFCs to the stratosphere, and increase their population by 263,000

Bowers, C.A.  The Culture of Denial:  Why the Environmental Movement Needs a Strategy for Reforming Universities and Public Schools.  New York:  State University of New York Press, 1997: (4) (5) (p.206)