Hmm, I spoke too soon.
Updating my wicket-1.4-SNAPSHOT from the wicketstuff maven repository fixed the gmap issue, but introduced a problem with my ContextImage instances in my webapp, the path at runtime is now wrong, the image part of the path is missing, and I need to prepend '../' to the beginning.
What used to result in '
http://localhost:8080/myapp/images/works/image.jpg'now results in '
http://localhost:8080/myapp/currentfolder/images/works'This is causing me problems..
can anyone help?
Regards,
Ross
rossputin wrote:
Hi Guys.
Hoping you can help. After updating wicket 1.4-SNAPSHOT, and wicket-stuff from trunk I get the following error when trying to look at the samples.
org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
java.lang.NoSuchMethodError: org.apache.wicket.markup.html.IHeaderResponse.renderOnEventJavacript(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
at wicket.contrib.gmap.GMapHeaderContributor$1.renderHead(GMapHeaderContributor.java:47)
My Maven pom configuration uses:
groupId=org.wicketstuff
artifactId=gmap2
version=1.4-SNAPSHOT
Thanks in advance for your help.
Regards,
Ross