wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: [6.0] resource management
Date Fri, 17 Aug 2012 05:42:31 GMT
Hi,

You can set your JQueryResRef with
application.getJavaScriptLibrarySettings().setJQueryResourceReference(MyJQueryResRef);

Wicket 6 uses and is tested for JQuery 1.7.2. It also works fine with
1.8.0 (i.e. all available tests pass). It wont work with JQuery 1.6
and older.

On Thu, Aug 16, 2012 at 4:24 PM, Pierre Goupil <goupilpierre@gmail.com> wrote:
> Good afternoon,
>
> I'm currently playing with Wicket 6.0 resource management, as found here:
> http://wicketinaction.com/2012/07/wicket-6-resource-management/
>
> Martin's website introduces us to the concept of resource dependencies. It
> works great for my own provided JS, but there is still one problem:
> wicket-core 6.0.0-beta3 contributes its own JSs and I'd like Wicket not to
> contribute jquery.js, because I'll provide it myself.
>
> Is there any way of doing this? I have some JQuery-related JS that I
> contribute myself to the (beginning of the) <head>, so Wicket's
> contribution of jquery.js (at the end of the <head>) is undesirable because
> the JS file is then duplicated, which breaks my dependency graph.
>
> As an additional request, is there any way to tell Wicket to contribute its
> JS files, but at the very beginning of the <head> tag?
>
> Lastly, which JQuery version should I use if I must contribute the
> jquery.js myself? Is 1.6.0 up to 1.8.0 all OK?
>
> Thanks in advance & best regards,
>
> Pierre
>
>
>
> --
> Le bonheur n'est pas une destination, mais une fa├žon de voyager.
>
> Papa d'une petite Lou-Ann depuis le 30 juin.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Mime
View raw message