Hi Matias,

> Also in this page I have some JQuery plug-ins which need to be loaded
after JQuery is loaded

There is some way to control wicket:header priority, but it is probably
better that you provide the ResourceReference, extending
JQueryPluginResourceReference, so you are guaranteed it will be loaded
*after* jquery

Then you just have to render it like this:

public void renderHead(Component component, IHeaderResponse response)
{
    ResourceReference reference = MyJQueryPluginResourceReference.get()

    response.render(new
PriorityHeaderItem(JavaScriptHeaderItem.forReference(reference)));
}

Hope this helps,
Sebastien.

Reply via email to