I want to rewriting my page,code like this: public class AutoLoginLinkTransformer implements PageRenderLinkTransformer {
@Inject private RequestGlobals requestGlobals; @Inject private MainLoginService loginService; @Inject private TypeCoercer typeCoercer; private String usrid; public PageRenderRequestParameters decodePageRenderRequest(Request request) { if (filter(request)) { return new PageRenderRequestParameters(Space.class.getSimpleName(), new ArrayEventContext(typeCoercer, new Object[] { usrid }), false); } return null; } public Link transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters) { return defaultLink; } I want to the page rewriting to page "Space" and it sucess to the space,but the browser's url is not change, how can I solve this problem? Or is there any interface replace the "PageRenderLinkTransformer". My target is to add a filter,if it can not pass the filter's validate, then page skip to another page.Is there any another way? If can share the code is best. Any one can help me, thanks a lot. -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-rewriting-problem-tp4567132p4567132.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org