I'm wondering what is the preferred way to include static image resources to
my web application. Instead of having a directory like "images" in my root
web container (WEB-INF) with all the static images used in my application it
is advised (so far I can remember) to have a directory next to the
Application class and mount these image resources with the ResourceMapper.

At the moment I refer to images in my root web container from a Panel's
markup file like



This works for me but I wanna go the "wicketzed" way. If I would use the
ResourceMapper in my Application class I would mount just one image resource
the following way:


What is the preferred way to mount all resources at ones in one directory? 
How can these changes be applied to the corresponding markup files of my
Panels without creating an Image (or ContextImage?) component?
Thanks for your hints.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Static-images-and-ResourceMapper-in-Wicket-1-5-tp4570016p4570016.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to