How to control the href rewrite in link tag

2011-09-01 Thread Jordi Deu-Pons
Hi,  I want to control the href rewrite behaviour of the links in the head section. Now from this: link href=css/some.css type=text/css rel=stylesheet /link Wicket rewrites to this: link href=../css/some.css type=text/css rel=stylesheet/link I would like to rewrite to do something like this:

Re: How to control the href rewrite in link tag

2011-09-01 Thread Martin Grigorov
Wicket has a special IMarkupFilter implementation that does that: org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler It is not possible to extend it or replace it but you can add your own one that will modify the urls even more. You'll have to set your own

Re: How to control the href rewrite in link tag

2011-09-01 Thread Jordi Deu-Pons
Ok, thanks Martin. On Thu, Sep 1, 2011 at 1:01 PM, Martin Grigorov mgrigo...@apache.org wrote: Wicket has a special IMarkupFilter implementation that does that: org.apache.wicket.markup.parser.filter.RelativePathPrefixHandler It is not possible to extend it or replace it but you can add your