On Mon, 18 Oct 2010 14:23:26 -0200, Taha Hafeez <[email protected]> wrote:

Thanks for such a quick response...
Let me rephrase it...

When should I use ComponentEventRequestFilter or ComponentRequestFilter or RequestFilter.

RequestFilter is invoked for any request, including resource (images, JavaScript, CSS, etc) ones. ComponentEventRequestFilter is only invoked in event requests. ComponentRequestFilter is invoked for render and event (action) requests.

1. Component Level.
2. Method Level.

You'd need to implement a ComponentClassTransformer for that.

3. Package Level.

There's no way to do that.

4. may be mixin level.

I don't know what you mean here.

5. Page Level

ComponentRequestFilter.

Please describe specific needs instead of broad ones like that and we'll be able to provide better answers.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to