Okay great, thanks Thiago. On Sun, Dec 7, 2014 at 7:30 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote:
> On Sat, 06 Dec 2014 23:59:50 -0200, George Christman < > gchrist...@cardaddy.com> wrote: > > Hi, I'm doing some URL rewriting and I just discovered a new issue. I >> have the following page rewritten to a new URL. >> "/sell/buildlisting/sell-car" >> with "sell-car" being the context param and I'm rewriting the URL to >> "/sell-car". When a form.error occures and the page reloads, it returns >> "sell/buildlisting.form". How do I get the page to return >> "/sell-car.form"? >> > > For almost every incoming URL rewrite, you should write an outgoing > (Tapestry-generated) URL rewrite too, otherwise the non-rewritten URLs > still appear, as exemplified by your case described above. Specifically, > you'll need to write a ComponentEventLinkTransformer too (form submission > URLs in Tapestry are considered event links). > > -- > 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 > > -- George Christman CEO www.CarDaddy.com P.O. Box 735 Johnstown, New York