On Thu, 20 Dec 2012 20:52:08 -0200, Cezary Biernacki <cezary...@gmail.com> wrote:

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.
createPageRenderLink()?
Documentation does not suggest that it works differently during event requests.
Maybe you thought about decodePageRenderRequest()?

Yep, decodePageRenderRequest().

--
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to