On Sun, 05 Jun 2011 15:17:24 -0300, tapes...@bg.cdev.de
<tapes...@bg.cdev.de> wrote:
Thank you for your reply. As mentioned, I tried to use the
PageRenderLinkTransformer which is part of the LinkTransformer API
(LinkTransformer extends ComponentEventLinkTransformer,
PageRenderLinkTransformer). The problem is that the decode method isn't
invoked when the root page is requested (without the name of the root
page). So I can't rewrite requests for "/". Is this a feature or a bug?
:-) Or did I something wrong?
I recall having seen this same issue before. "/" is handled by a different
Dispactcher than the one the handles other requests. You can use the old
URL rewriting API or create a RequestFilter that passes a different
Request to the next in the chain (which is exactly how the old URL
rewriting code works).
--
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