I want to make a simple ImageButton from an existing HTML markup:
<input type="image" wicket:id="enter" src="images/enter.jpg" />
images dir is in the root of the webapp. Java code is:
add(new ImageButton("enter"));
But image isn't displayed. What's the most easiest way to make it work?
After further investigation I see that Wicket modifies src attribute:
src="resources/com.mycomp...Class/images/enter_en.jpg
It would be great to leave src attribute unmodified.