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. :)

External page URL change in Tapestry 4

2006-12-19 Thread Robert J. Walker
I'm upgrading our existing applications from Tapestry 3.1 to Tapestry 4.1. One problem we have is that we send emails to our users with links to an IExternalPage. The URL format for this has changed in Tapestry 4, so when we release, all the links in emails sent before the release will be broken