On Mon, 19 Sep 2011 14:07:24 -0300, Lenny Primak <lpri...@hope.nyc.ny.us> wrote:

Thiago,

Hi!

in my app, the session can exist but not be valid, so I have a custom annotation
that has a parameter that I want to trigger this check.
I also do not have ComponentRequestFilter of my own defined,
isn't method advisor and a custom annotation enough?

What I'm suggesting is an alternative to checking fields. The custom annotation would remain the same, just the code in the method adviser would check for a session state object instead of persistent fields.

--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to