jonaqua said:

> ...and I run the application, the image will reference
> web/images/logo.png.
> However, if I just quickly view that HTML file, it will reference 
> src/java/package/images/logo.png and the image link will be broken.

I'd just use a wicket.markup.html.image.Image for each of the images, and
let wicket rewrite the src part of the img tag.  Then you can put whatever
you want in the src attribute.

(How to make a Resource out of an image that is outside your wicket source
tree is a different question that you can find the answer to by searching
this list.)
-- 
View this message in context: 
http://www.nabble.com/Setting-up-project---images-and-stylesheets-tf4094209.html#a11656088
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to