Version 8.x will set V2 by default (no specific code is required)
Version 9.x will set V3

You can change this behavior adding
getJavaScriptLibrarySettings().setJQueryReference(JQueryResourceReference.getV3());
to Application.init()

On Wed, 3 Oct 2018 at 22:51, Francesco Chicchiriccò <[email protected]>
wrote:

> On 2018/10/03 15:40:21, Maxim Solodovnik <[email protected]> wrote:
> > I guess I't time to move to V2/V3
> > IE 6/7/8/9 is extremely outdated .....
>
> I agree, but I don't see how this relates to my question: the javadoc for
> DynamicJQueryResourceReference says that
>
> For IE 6/7/8 jQuery ver. 1.x will be used, for any other browser - ver.
> 2.x.
>
> Fair enough; now, since the class is deprecated, how am I expected to
> modify my code? This is what I don't get.
>
> FYI the line is
>
>
> https://github.com/apache/syncope/blob/master/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java#L182
>
> Regards.
>
> > On Wed, 3 Oct 2018 at 22:37, Francesco Chicchiriccò <[email protected]
> >
> > wrote:
> >
> > > Hi there,
> > > I can see that DynamicJQueryResourceReference [1] is deprecated in 8.x
> and
> > > removed from master branch.
> > >
> > > From the @Deprecated annotation, however, I cannot find how to upgrade
> my
> > > current code: could you please shade some light? Thanks.
> > >
> > > Regards.
> > >
> > > [1]
> > >
> https://github.com/apache/wicket/blob/wicket-8.x/wicket-core/src/main/java/org/apache/wicket/resource/DynamicJQueryResourceReference.java
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > >
> > >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

-- 
WBR
Maxim aka solomax

Reply via email to