On Fri, 30 Mar 2012 09:39:08 -0300, Lance Java <lance.j...@googlemail.com> wrote:

No, URLRewriters can decorate the result (generated links) too.

Fair enough... I would still decorate the ComponentEventLinkEncoder to
future-proof your code (URLRewriter is not in the 5.3 code base)

URLRewriter does that. If you want it to work in 5.3, it's just a matter of copying some classes to your project and adding a couple methods to AppModule. URLRewriter works by adding a RequestFilter and advising ComponentEventLinkEncoder. It's something that could be provided as a separate package, as it doesn't use any Tapestry internals, just public stuff.

--
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