Hi Martin,

The DynamicJQueryResourceReference's javadoc needs to be updated, as it's
written :

"To use this resource reference do:
app.getJavaScriptLibrarySettings().setJQueryReference(DynamicJQueryResourceReference.INSTANCE)"

François



On Tue, Jul 2, 2013 at 12:19 PM, Martin Grigorov <[email protected]>wrote:

> Hi,
>
> JQueryResourceReference.INSTANCE has been private even before 6.9.0.
> There is org.apache.wicket.resource.JQueryResourceReference#get() which is
> public.
>
> DynamicJQueryResourceReference has no static members at all. You can use it
> with: new DynamicJQueryResourceReference().
> To be able to use custom versions of jQuery 1.x and 2.x you need to
> extend DynamicJQueryResourceReference
> and override #getVersion1() and #getVersion2(). In this case such static
> field/method will only confuse you.
>
>
> On Tue, Jul 2, 2013 at 11:39 AM, francois meillet <
> [email protected]> wrote:
>
> > In 6.9.0, JQueryResourceReference.INSTANCE has private access.
> > So DynamicJQueryResourceReference.INSTANCE is not reachable.
> >
> >
> > François
> >
>

Reply via email to