Say I have my component in a package "com.mycompany.component"
== MyCmponent.java: class MyComponent extends Panel ...
== MyComponent.html:
<html xmlns:wicket>
<body>
<wicket:panel>
<img wicket:id="open"
src="/resources/com.mycompany.component.MyComponent/open.png"/>
</wicket:panel>
</body>
</html>
I don't want to hard code
"/resources/com.mycompany.component.MyComponent/open.png" in the template
and just have <img src="open.png" .../>. Is there someway to work out the
prefix "/resources/com.mycompany.component.MyComponent/" and fix up src
attribute in code?