On Wed, Jul 25, 2012 at 6:18 PM, Bertrand Guay-Paquet
<[email protected]> wrote:
> Ok, so if I understood properly:
>
> 1) To use a different backing lib, IJavaScriptLibrarySettings's
> setWicketEventReference(), setWicketAjaxReference() and
> setWicketAjaxDebugReference() methods should be used.

Yes. See org.apache.wicket.resource.CoreLibrariesContributor#contributeAjax()

>
> 2) If I have a subclass of AbstractDefaultAjaxBehavior which depends on
> jQuery, I must still add that dependency in order to "protect" my code from
> changes in the backing library.

Adding explicitly this dependency wont hurt. Wicket will filter the
duplicates, so just one jquery.js will be rendered.

>
> 3) A subclass of JQueryPluginResourceReference will always have a jQuery
> dependency no matter what the backing library is.

Yes, unless you put something else in IJSLSessings#setJQueryReference() ...

>
>
>> Blame Emond for that. He changed it and he didn't change the docs in the
>> Wiki...
>
> Ok but I wasn't really looking for someone to blame, but just to contribute
> to the beta testing! :)

OK, I blame him then :-)

Thanks for reading the docs and for updating them!

>
> Thanks for the explanation!



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

Reply via email to