Hi!

I'm trying to write a filter that among other tings rewrite URLs. (This
is a component in our work to make a multidomain Roller). From what I
can gather of information, the trick is to create a sub class of
HttpServletResponseWrapper that overrides encodeURL. But when I do this,
only one URL on a normal blog-page is sent to this method, and that's
the login URL. 

After some research, I have found that this URL is sent through
$pageHelper.strutsUrlHelper in navbar.vm, and this in turn call
encodeURL, which does my magic. But what about all the other URLs? 

Is there a way to pick them up other than sending them through
strutsUrlHelper in the velocity scripts? I tried to change the
showEntryPermalink macro to use strutsUrlHelper, this worked fine. I
guess I could make this change in the other links as well and submit a
patch. Anybody know of any problems this might cause?



-- 
Regards,
Henning Kulander
System consultant
Linpro AS - Norway's #1 Linux company

Reply via email to