Wicket facilitates the analysis of entire web pages through OOP paradigms and includes resource processing.
So, if your SomePage extends WebPageis in the package myprogram.view.pages, you will most likely add images, etc. into myprogram.view.pages.assets(or another similarly named, logical package), and then add the image to the SomePage source by calling
add(new Image("id", new ResourceReference(this.getClass(), "assets/logo.gif")));
, , , , ( , , CSS ?), .
: , , , , , , - , .
<wicket:link>
<img src="images/logo.gif" />
</wicket:link>
. wicket: link , ( SomePage.class!) .