Just extend ExceptionPresenterImpl and call your superclass' implementation!
:-)  Ain't object-oriented programming great?


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 10:33 AM
To: Tapestry users
Subject: RE: Logging error page into log4j

Hi James,

I created my own ExceptionPresenter and added the entry to the
hivemodule.xml
file and it now logs, but the original error display page is not showing. Is
there any way to display the error (as it does by default) and log it?

Thanks,
Amir


--- James Carman <[EMAIL PROTECTED]> wrote:

> Override the implementation of the tapestry.error.ExceptionPresenter
service
> point (until I change the way it works).  In your hivemodule.xml file:
> 
> <implementation service-id="tapestry.error.ExceptionPresenter">
>   <invoke-factory>
>     <construct class="com.myco.web.error.MyExceptionPresenter" />
>   </invoke-factory>
> </implementation>
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

> Sent: Wednesday, June 21, 2006 9:43 AM
> To: tapestry-user@jakarta.apache.org
> Subject: Logging error page into log4j
> 
> Hi all,
> 
> How do get the default error page to log into log4j? 
> 
> I really dont need to overide the default error page (this is an internal
> application) but I do need the errors logged. Any help is appreciated!
> 
> Thanks,
> Amir
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to