I never used that option myself before, but I tried it out and it
worked
like a baby.
I wrote it down as a how-to in our Wiki. Please see:
http://wicket.sourceforge.net/wiki/index.php/Custom_resource_paths
Thank you very much. Hadn't thought to move the setting to init().
One note is that your example sets up a variable called webinf, but
you are actually referring to the web root. It is a bit misleading
as WEB-INF is not the web root.
Also, this example produces an exception when deployed as a .war
(didn't check a folder) into JBoss 4.0.1. The exception I get is:
2005-05-30 15:49:22,920 ERROR [org.jboss.web.localhost.Engine] -----
Root Cause -----
java.lang.IllegalArgumentException: URI scheme is not "file"
at java.io.File.<init>(File.java:324)
at wicket.util.file.File.<init>(File.java:83)
at wicket.util.file.Folder.<init>(Folder.java:75)
at reverect.web.ReverectWebapp.init(ReverectWebapp.java:33)
Any suggestions?
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user