Wicket is Open Source, create a pull request:
https://github.com/apache/wicket/tree/wicket-6.x

:)

-----Original Message-----
From: francois meillet [mailto:[email protected]] 
Sent: Tuesday, July 02, 2013 8:00 AM
To: [email protected]
Subject: Re: JQueryResourceReference.INSTANCE has private access

Hi Martin,

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

"To use this resource reference do:
app.getJavaScriptLibrarySettings().setJQueryReference(DynamicJQueryResourceR
eference.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
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to