java - replace wicket 6.3 jquery -
after migration wicket 6.3, encountered error in console of developertools in chrome on pages use jquery. seems jquery wicket 6.3 use built-in, contains link rvzr-a.akamaihd.net.
failed load resource: server responded status of 403 (forbidden) http://rvzr-a.akamaihd.net/amz/aeyjhzmzpzci6mtaxocwic3viywzmawqiojewmjisimh…2h0ijo3njgsimxvywrlcl9jbgllbnrfdgltzxn0yw1wijoxmzc2mzy2mtu0mtaxfq%3d%3d.js
you can provide wicket own version of jquery described on http://wicket.apache.org/. in application class, override init method so:
@override protected void init() { getjavascriptlibrarysettings().setjqueryreference(new urlresourcereference(url.parse("http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"))); }
(you can pick other versions of jquery http://cdnjs.com/)
that being said i'm skeptical wicket have references rvzr-a.akamaihd.net.
Comments
Post a Comment