WHen I start my application, my urlFor() returns a different URL than when I call it a second time?
ResourceReference iconref = new ResourceReference(anchorclass,
iconname);
System.out.println("URL: "+urlFor(iconref));
First time it returns:
URL:
../../../resources/com.musmato.wicket.pages.styles.option1.Option1StyleAnchor/document.png
second time:
URL:
resources/com.musmato.wicket.pages.styles.option1.Option1StyleAnchor/document.png
Any ideas?
Thanks
Pieter
--
