Yes, use: response.render(JavaScriptHeaderItem.forReference(new
*JQueryPluginResourceReference*(YourScope.class, "your-plugin.js")))

Martin Grigorov
Freelancer. Available for hire!
Wicket Training and Consulting

On Tue, Jun 16, 2015 at 11:40 PM, Tom Norton <
tomwnorton.mailing.li...@gmail.com> wrote:

> We are in the process of upgrading from wicket 5 to wicket 6 and we are
> having trouble with some of our panels that load custom JQuery plugins.
> Because wicket 6 writes the script tags for child components before parent
> components, our components that use third party jquery plugins get wiped
> out when the wicket application adds the main jquery javascript.
> Is there a way to configure wicket to load jquery first, and then to load
> the individual jquery plugin javascript files afterwards?
> Thanks,
> Tom

Reply via email to