On Thu, 20 Dec 2012 16:10:05 -0200, Cezary Biernacki <cezary...@gmail.com>
wrote:
I am not sure what is preferred method to detect page requests vs. event
requests in onActivate methods,
but I can imagine that it could be done by
decorating ComponentRequestHandler
and adding a request attribute with information of kind of request.
Please don't do that. Just @Inject ComponentEventLinkEncoder and use its
createPageRenderLink() method. If it returns null, it's not a page render
request, so it's an event one.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org