Hi,

I have a basepage which adds a reference to jquery amongst other things in its constructor via add(IHeaderContributor). Then I extend that basepage in other pages.

If I want to add another javascript-reference that utilizes jquery in the <wicket:head> tag of the childpage, I run into trouble because the <wicket:head> tag is rendered before the headercontributors from the basepage, hence the code fails because jquery is not yet loaded (this happens for many jquery-addons if they are added before jquery.js).

Is there a way to tell Wicket that wicket:head should be rendered later than the headercontributors or something, or can I in any way change the order of what's added to the head section?

-- Edvin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to