Wicket rendering jquery late

2012-09-26 Thread Oscar Besga Arcauz
Hi wickers ! I've a problem with wicket and jquery resource rendering. My webpage has many panels wich uses jquery, and they have javascript attached to it. This panel-dependant javascript uses jquery, so I render jquery with a resourcerefernce in the webpage. (The page doesn't use ajax

Re: Wicket rendering jquery late

2012-09-26 Thread Martin Grigorov
Hi, Wicket 6 introduces dependencies between resources - http://wicketinaction.com/2012/07/wicket-6-resource-management/ So you can modify your JavaScriptResourceReferences to be org.apache.wicket.resource.JQueryPluginResourceReference instead. This way Wicket will be able to calculate the graph.

Re: Wicket rendering jquery late

2012-09-26 Thread Pointbreak
If your panel depends on jquery, you should render the reference to jquery also in your panel. On Wed, Sep 26, 2012, at 13:40, Oscar Besga Arcauz wrote: Hi wickers ! I've a problem with wicket and jquery resource rendering. My webpage has many panels wich uses jquery, and they have

Re: Wicket rendering jquery late

2012-09-26 Thread Oscar Besga Arcauz
(JavaScriptReferenceHeaderItem.forReference(JQueryResourceReference.get()));     return dependencies;     } } Oscar Besga Arcauz -Martin Grigorov mgrigo...@apache.org escribió: - Para: users@wicket.apache.org De: Martin Grigorov mgrigo...@apache.org Fecha: 26/09/2012 13:49 Asunto: Re: Wicket rendering jquery

Re: Wicket rendering jquery late

2012-09-26 Thread Martin Grigorov
Grigorov mgrigo...@apache.org escribió: - Para: users@wicket.apache.org De: Martin Grigorov mgrigo...@apache.org Fecha: 26/09/2012 13:49 Asunto: Re: Wicket rendering jquery late Hi, Wicket 6 introduces dependencies between resources - http://wicketinaction.com/2012/07/wicket-6-resource