Hi,
I'm using an Include component to include some 'static' html file. The 
problem is that the html file references path that depend on the context 
path of the application so I would like to dynamically replace some text 
in the html file with the context path. i.e.: <a 
href="${contextPath}/my/other.html">link</a>.

What would be the 'wicket' way to do this? I've looked at 
VariableInterpolator and that seems like an interesting class to use, 
but I don't know how and where. One idea would be to write a 
IResponseFilter but if it can be done in an easier way I would prefer 
that of course.

Thanks in advance,
Matthijs

-- 
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to