Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
6.0.0-beta1
-
None
-
None
-
JBoss 7
Description
I replicated the example in https://cwiki.apache.org/WICKET/how-to-load-an-external-image.html and I noticed that the generated URL when using:
ResourceReference imageResource = new SharedResourceReference("documentResource");
String url=RequestCycle.get().urlFor(imageResource, new PageParameters())"?id=""1";
on a bookmarkable page causes a "java.lang.ClassNotFoundException: resource"
Generated URL: ./resource/org.apache.wicket.Application/documentResource?id=1
added to a bookmarkable page:
on a non-bookmarkable page:
http://localhost:8080/nflows/wicket/resource/org.apache.wicket.Application/documentResource?id=1