I have a lot of images bound to some component under the same directory.
Images and htmls are located at the same directory in classes/ ,
It's necessary to assign wicket:id for each <IMG> tag.
It is tedious and error-prone , and refactory-unfriendly (
ResourceReference(Clazz.class , "filename.jpg") );
"filename.jpg" is unchecked at compile time.

Is it possible for wicket to auto discover the images in the <IMG> tag and
add them to resources ?
It will ease a lot of work if your component links a lot of images.

Reply via email to