Re: JQuery contribution question
Hi, On Thu, May 23, 2013 at 11:21 PM, Raul ralva...@netwie.com wrote: Hello, I also need to upgrade the version of jQuery to 1.9.1, I do it with getJavaScriptLibrarySettings (). setJQueryReference (resource), but I have some problems running this version with AjaxEventBehavior. Please start a new thread with more details about the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JQuery-contribution-question-tp4658999p4659003.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
JQuery contribution question
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
Re: JQuery contribution question
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
Re: JQuery contribution question
Hello, I also need to upgrade the version of jQuery to 1.9.1, I do it with getJavaScriptLibrarySettings (). setJQueryReference (resource), but I have some problems running this version with AjaxEventBehavior. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/JQuery-contribution-question-tp4658999p4659003.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