Hello! I just tried the latest snapshot (20060227-0200). Still the same problem, unfortunately.
> what does youre html look like? > If you have non absolute paths in src or href attributes of tags then > they will be made absolute in the latest snapshots. My (relevant) html looks like this: <div id="header-area"> <div class="logo-top"> <a wicket:id="topPageLink" class="image-link"><img src="images/logo.gif"/></a> </div> <div class="menu"> <div class="menubar"> <img src="images/menu.gif"/> </div> <span wicket:id="topMenu"/> </div> </div> The context root is ".temp/www", and the resulting html (for one of my pages as an example) is as below. You'll notice that the "menu" links are properly rendered, but the image links and the css are not. So, is this a "feature" or a "bug", I wonder... <?xml version='1.0' encoding='UTF-8'?> <html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"> <head> <link href="styles/main_en.css" rel="Stylesheet" type="text/css"/> <title>Page Title</title> </head> <body> .... <div id="header-area"> <div class="logo-top"> <a href="/.temp/www/main?wicket:bookmarkablePage=:com.bioscene.web.view.content.IndexPage" class="image-link"><img src="/images/logo.gif"/></a> </div> <div class="menu"> <div class="menubar"> <img src="/images/menu.gif"/> </div> <span> <div class="menu1"><a href="/.temp/www/main/lsd/" class="menu-link">LSD</a></div> <div class="menu2"><a href="/.temp/www/main/pubmed/" class="menu-link">PubMed</a></div> <div class="menu3"><a href="/.temp/www/main/company/" class="menu-link">Company</a></div> <div class="menu4"><a href="/.temp/www/main/contact/" class="menu-link">Contact</a></div> </span> </div><!-- menu --> </div><!-- header-area --> .... </body> </html> BTW, the CSS is like this: <head> <link wicket:id="css" rel="Stylesheet" type="text/css" href="styles/main.css"/> <title>Page Title</title> </head> final WebComponent c = new WebComponent( "css" ); final IModel model = new Model() { private static final long serialVersionUID = 1L; public Object getObject( final Component c ) { if ( ContentPage.this.isLocaleJapanese() ) return "styles/main_jp.css"; else return "styles/main_en.css"; } }; c.add( new AttributeModifier( "href", model ) ); add( c ); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user