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 
URLRewriting comes in. I want to rewrite the url 
"http://app/oldpage.do?foo=bar"; to "http://app/some/path/to/page";.

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 Tapestry expects them to 
be there. 

I'm curious how to fix that. Switch on "tapestry.force-absolute-uris", patch 
Tapestry to generate absolute uris in some cases... or maybe there's some 
feature in the URLRewriter I'm missing?


Thanks!

Christian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to