Forgot to add that you'd also need to have a property or method named
"exception" in your custom exception page.

The property type is Throwable, which will be called by the Tapestry default
ExceptionPresenter.

You can see an example of this from the Vlib example in Tapestry 4.

On 2/8/06, Muljadi Sulistio <[EMAIL PROTECTED]> wrote:
>
> If you are using Tapestry 4, you can change your hivemodule.xml as
> follows:
>
>     <contribution configuration-id="tapestry.InfrastructureOverrides">
>         <property name="exceptionPageName" value="ApplicationUnavailable"
> />
>     </contribution>
>
>
> On 2/8/06, Chris Chiappone <[EMAIL PROTECTED]> wrote:
> >
> > Could someone lead me to the documentation on how to use a custom
> > exception page?  I've been searching through this list but haven't
> > really found the answer.
> >
> > Is the only think you need to do is add:
> >
> > <page name="Exception" specification-path=" CustomExceptionPage.page"/>
> >
> > to the tapp.application file
> >
> > Then create the CustomExceptionPage.page and CustomExceptionPage.htmlfiles?
> >
> >
> > --
> > ~chris
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

Reply via email to