On Fri, 30 Mar 2012 17:16:00 -0300, Juan Alba
<juan.a...@condortech.com.ar> wrote:
URLRewriterRule rule = new URLRewriterRule() {
@Override
public Request process(Request request, URLRewriteContext context) {
return new SimpleRequestWrapper(request,
request.getPath()+"/test");
}
You're rewriting all paths from /xxx to /xxx/test, for whatever xxx is. In
other words, your code doesn't much sense. Each rule needs to check
whether it's a path it really wants to rewrite, and I can't imagine any
scenario in which you want to redirect all URLs.
--
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