Hi,

Check
https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-Setup

You can contribute
JavaScriptHeaderItem.forReference(app.getJavaScriptLibrarySettings().getJQueryReference());
You can do this in a global header contributor:
app.getHeaderContributors().add(new IHeaderContributor() {...});

If there are Ajax components/behaviors then Wicket will contribute it just
once.


On Thu, May 23, 2013 at 3:11 PM, heikki <tropic...@gmail.com> wrote:

> hello list,
>
> the way things work with Wicket-provided contributions confuses me a bit.
> I'm using Wicket 6.5.
>
> What I'd like to achieve is: a single jQuery library available in my page.
>
> Whether or not my page includes jQuery-contributing Wicket components like
> the Ajax components: I need jQuery for non-Wicket-related clientside stuff
> too.
>
> Ideally a jQuery version of my choice, not contributed by Wicket but a
> simple local or remote link, although if it's more easy to simply always
> contribute jQuery through Wicket that would be fine too.
>
> Any suggestions ?
>
> Kind regards,
> Heikki Doeleman
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/JQuery-contribution-question-tp4658999.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to