RE: External page URL change in Tapestry 4

2006-12-20 Thread Robert J. Walker
Well, in the meantime I read up more on ServiceEncoders and came to the conclusion that it shouldn't be too tough, so I went ahead and wrote one that seems to work fine. It was almost done by the time I got your post. The thing I like about this solution is that it doesn't require another librar

Re: External page URL change in Tapestry 4

2006-12-19 Thread Martin Strand
Hi Robert. I solved this by using the UrlRewriteFilter: http://tuckey.org/urlrewrite/ Since you don't need to generate the old urls anymore, a custom service encoder isn't really necessary and the UrlRewriteFilter will probably be sufficient. You can even unit test the rewrite rules. :)