How exactly you contribute the js file?
On Jun 17, 2015 6:53 PM, "Tom Norton" <[email protected]>
wrote:

> Our web site is only partially developed with wicket, so the the javascript
> file in question can't be retrieved using a package-based approach.  Is
> there a way to add an absolute reference for a javascript plugin?
>
> Thanks,
> Tom
>
> On Tue, Jun 16, 2015 at 4:50 PM, Martin Grigorov <[email protected]>
> wrote:
>
> > Hi,
> >
> > Yes, use: response.render(JavaScriptHeaderItem.forReference(new
> > *JQueryPluginResourceReference*(YourScope.class, "your-plugin.js")))
> >
> > Martin Grigorov
> > Freelancer. Available for hire!
> > Wicket Training and Consulting
> > https://twitter.com/mtgrigorov
> >
> > On Tue, Jun 16, 2015 at 11:40 PM, Tom Norton <
> > [email protected]> 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