Re: URLRewriting and tapestry.force-absolute-uris

2010-05-09 Thread Steve Eynon
Hi Christian, If you are just looking to change incoming legacy requests and don't care about URLs once the user has entered the system, have a look at: Url Rewrite Filter - http://tuckey.org/urlrewrite/ It's a servlet filter than alters the URL before Tapestry sees it, allowing you to convert l

Re: URLRewriting and tapestry.force-absolute-uris

2010-05-04 Thread Christian Riedel
Hm... but how should I change the outbound links? When I change the inbound request "/legacy.do?show=page" to "/user/page" the outbound links will be "/user/anotherPage" or similar (according to my debugger, while debugging the outbound filter). They are OK, I don't want the user to see the lin

Re: URLRewriting and tapestry.force-absolute-uris

2010-05-03 Thread Thiago H. de Paula Figueiredo
On Fri, 30 Apr 2010 12:20:09 -0300, Christian Riedel wrote: Hi list, Hi! Now Tapestry generates all links optimized to the rewritten URL, so there might be links to "http://app/page.component:event/smb";, which does not exist... Also, locales will not be encoded into links because Ta

URLRewriting and tapestry.force-absolute-uris

2010-04-30 Thread Christian Riedel
Hi list, I just found in Tapestry that there is a nice link-optimization when tapestry.force-absolute-uris=false (the default). If the initial request is like "http://app/some/path/to/page"; any links on that page will be relative to "http://app/some/path/to/";. That's ok until the URLRewriti