I had been crying about wicket 1.2.6 makes my site ugly when i upgraded from 1.2.4 without a change of any line of code. in case you are or meet with this situation, here are the tips that may assist you.
While I was with wicket1.2.4 jars, i had Application.getMarkupSettings ().setAutomaticLinking(true) So when I swapped with Wicket1.2.6 jar, my whole page became ugly because neither my CSS or images were loaded Now, during my try and error process, i removed Application.getMarkupSettings().setAutomaticLinking(true) or set it to false then all my static images and CSS loaded properly but their was another problem: 1. My inline CSS with attributes like style="background:url(images/reflect_bar_orange2.gif) repeat-x center;" did not load the background image. So what was my fix? My Fix for that was to move those type of inline CSS to the external CSS file where there are meant to be anyway. when i did this, the background images loaded 2. Another discovery was that images with src attribute with wicket:ids did not show as well i.e. <img wicket:id="myimage" src="images/myimage.gif" /> where myimage.gif was placed in the global /image folder. My Fix, i appended the /app (wicket application path) to the image with wicket:ids and then it loaded i.e. <img wicket:id="myimage" src="/app/images/myimage.gif" /> So after sticking to these, my CSS and images loaded correctly just my 2 cents thank you ------------------------------------------------------------------------- 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