Re: url-rewriting in Tapestry 5

2007-10-30 Thread jeffrey ai
You could use urlrewritefilter to rewrite both inbound and outbound URLs. But for outbound URLs rewriting, urlrewritefilter could only rewrite URLs encoded by HttpServletResponse.encodeURL() method. I believe most URLs generated by Tapestry components(so far only confirmed BeanEditForm) are using

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Fernando Padilla
T5 Does have Coercion, which are like the old DataSqueezers: http://tapestry.apache.org/tapestry5/tapestry-core/guide/coercion.html But the key thing is that it uses the "/" dir separator as the parameter separator; I don't think it support natively having one parameter take up multiple path pa

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Christian Gorbach
I'm also interested in pluggable rewrite strategies. I did some tests with http://tuckey.org/urlrewrite/ some weeks ago. One of the problems was that tap5 if not a servlet, but a catch-all filter. The filter chaining didn't work for me. Anybody ? c)hristian Britske wrote: > > Thanks these al

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Britske
Thanks these all seem valid approaches. What i'm looking for is a stretching the possibilities i guess but here it goes anyway: I want a way in which I can plug a 'rewrite strategy'. This means that not only I have to translate urls from 'nice' to 'tapestry5' -internal but also the other way aro

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Robin Helgelin
On 9/21/07, Daniel Leffel <[EMAIL PROTECTED]> wrote: > I went down this path and decided that mod_rewrite is a much cleaner way to > achieve something like this. Or maybe an urlfilter bundled with your war, there are a few usable ones. -- regards, Robin -

Re: url-rewriting in Tapestry 5

2007-09-21 Thread Daniel Leffel
I went down this path and decided that mod_rewrite is a much cleaner way to achieve something like this. On 9/21/07, Britske <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I'm looking for a way to have flexible / nice urls when using tapestry5. > I know that with tapestry 5, supplied parameters are