On Tue, 28 Oct 2014 04:30:45 -0200, George Christman
<gchrist...@cardaddy.com> wrote:
it appears as if the redirects are happening automatically without a 301.
Does anybody know how I can accomplish this task?
When I move pages, I generally just use something like this.
Link link = linkSource.createPageRenderLinkWithContext(Signin.class);
return new
HttpStatusCode(HttpServletResponse.SC_MOVED_PERMANENTLY,
link);
Write a Dispatcher and contribute it before the other ones. Use
ComponentEventLinkEncoder.decodePageRender() to know what page and
activation context then use PageRenderLinkSource to create the URL to
redirect.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org