Em Thu, 26 Nov 2009 07:18:53 -0200, Ulrich Stärk <u...@spielviel.de> escreveu:

Use a ComponentRequestFilter. That way you can handle component events and page render requests inside the same filter.

It could be a Dispatcher too. The wiki has a nice explanation: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher. Just a small correction: your dispatcher must be added before the RootPath, ComponentEvent and PageRender dispatchers:

configuration.add("YourDispatcher", yourDispatcher, "before:RootPath, before:ComponentEvent, before:PageRender, after:Asset, after:VirtualAsset");

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, 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