thank you, Sebastien. It works now.

Am 13.07.2014 14:35, schrieb Sebastien:
> Hi Karl-Heinz,
>
> That's because jquery-xx.js is not a plugin by itself, so you cannot use
> JQueryPluginResourceReference. Use a JavaScriptResourceReference instead.
> JQueryPluginResourceReference depends on JQueryResourceReference, that's
> why you get a circular dependency exception..
>
> Best regards,
> Sebastien.
>
>
> On Sun, Jul 13, 2014 at 2:24 PM, Karl-Heinz Golz <
> karl-heinz.g...@t-online.de> wrote:
>
>> hello,
>>
>> I'm upgrading wicket from version 6.5.0 to version 6.16.0 (including
>> jQuery 1.11.1 now).
>> But I have to use jQuery 1.8.3, instead. I tried to achieve that with
>> following code in StartAplication#init.:
>>
>> IJavaScriptLibrarySettings settings = getJavaScriptLibrarySettings();
>> settings.setJQueryReference(new
>> JQueryPluginResourceReference(Startseite.class, "query-1.8.3.min.js"));
>>
>> Following RuntimeException is thrown:
>> org.apache.wicket.resource.CircularDependencyException: Circular
>> dependency detected in the dependency chain
>> [JavaScriptReferenceHeaderItem(scope:
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior; name:
>> res/js/wicket-ajax-jquery-debug.js; locale: null; style: null;
>> variation: null, null), JavaScriptReferenceHeaderItem(scope:
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior; name:
>> res/js/wicket-ajax-jquery.js; locale: null; style: null; variation:
>> null, null), JavaScriptReferenceHeaderItem(scope:
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior; name:
>> res/js/wicket-event-jquery.js; locale: null; style: null; variation:
>> null, null), JavaScriptReferenceHeaderItem(scope:
>> de.khg.fundus.Startseite; name: jquery-1.8.3.min.js; locale: null;
>> style: null; variation: null, null)].
>> JavaScriptReferenceHeaderItem(scope: de.khg.fundus.Startseite; name:
>> jquery-1.8.3.min.js; locale: null; style: null; variation: null, null)
>> is already in the chain.
>>
>> What's my mistake?
>>
>> Thanks in advance
>> Karl-Heinz
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>


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

Reply via email to