Wrap them all in <wicket:link>. On Tue, 2008-03-18 at 04:22 +0800, smallufo wrote: > 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.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
