Disable exception logging

2010-04-02 Thread satb
Is there anyway to disable logging by Tapestry when an exception is thrown? RenderQueueImpl is automatically logging the whole stack trace. Moreover, its using the logger of the Page, so we cannot turn off the tapestry category if we want. Is there anyway to disable that? Our log files are getting

Re: How to get the Component inside advice?

2010-03-31 Thread satb
> Advice is for services, not pages and components. Thanks for the response. Yes. That is true. I want to do one other thing on the methods of the service if the request is originating from a "SecurePage" -- which is to check the credentials. Isn't advice the right thing for it? Thats what the a

How to get the Component inside advice?

2010-03-31 Thread satb
I am trying to get the component inside an advice and if the page invoked is extends "SecurePage", then I have to check the security credentials on that request. A typical cross-cutting concern which is best served by an advice. But its not working. Anything I am doing wrong here? Could this below