* Chris Colman:
> I load the markups from a directory that I specify in the init of Wicket
> application object (if that's relevant):
>
> CompoundResourceStreamLocator locator =
> (CompoundResourceStreamLocator)getResourceSettings().
> getResourceStreamLocator();
>
> WebApplicationPath resourceFinder =
> (WebApplicationPath)getResourceSettings().getResourceFinder();
>
> resourceFinder.add("c:/webserver/tomcat/wicket/markupfiles");
>
> locator.add(0, new WebPageResourceStreamLocator(resourceFinder));
I use it like this:
getResourceSettings().setResourceFinder(new Path(new
Folder("src/main/resources")));
Have you tried a relative path? Are you sure the path you mention
is in the right form? What version of Wicket are you using?
--
Jean-Baptiste Quenot
aka John Banana Qwerty
http://caraldi.com/jbq/
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user