Return-Path: X-Original-To: apmail-wicket-users-archive@minotaur.apache.org Delivered-To: apmail-wicket-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3C36017732 for ; Wed, 18 Feb 2015 14:20:32 +0000 (UTC) Received: (qmail 6544 invoked by uid 500); 18 Feb 2015 14:20:28 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 6492 invoked by uid 500); 18 Feb 2015 14:20:28 -0000 Mailing-List: contact users-help@wicket.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@wicket.apache.org Delivered-To: mailing list users@wicket.apache.org Received: (qmail 6481 invoked by uid 99); 18 Feb 2015 14:20:28 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 14:20:28 +0000 Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 595731A025E for ; Wed, 18 Feb 2015 14:20:28 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id vb8so2214223obc.12 for ; Wed, 18 Feb 2015 06:20:27 -0800 (PST) X-Received: by 10.202.173.194 with SMTP id w185mr20996627oie.30.1424269227191; Wed, 18 Feb 2015 06:20:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.134.226 with HTTP; Wed, 18 Feb 2015 06:19:47 -0800 (PST) In-Reply-To: <1424268030318-4669609.post@n4.nabble.com> References: <1424260086052-4669599.post@n4.nabble.com> <1424264922464-4669603.post@n4.nabble.com> <1424268030318-4669609.post@n4.nabble.com> From: Martin Grigorov Date: Wed, 18 Feb 2015 16:19:47 +0200 Message-ID: Subject: Re: Jquery methods issue with wicket 6.13 To: "users@wicket.apache.org" Content-Type: multipart/alternative; boundary=001a113ceca059faa1050f5d8570 --001a113ceca059faa1050f5d8570 Content-Type: text/plain; charset=UTF-8 On Wed, Feb 18, 2015 at 4:00 PM, avchavan wrote: > Hi Martin, > > Did the changes as you had said. > > getting the following error: > TypeError: $(...).accordion is not a function > Good. jQuery is loaded. > $('#accordion').accordion(); > Now jQuery-UI seems to be not loaded for some reason. > > @Override > public void renderHead(IHeaderResponse response) { > // add jQuery library > > response.render(CssHeaderItem.forUrl(" > https://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css")); > > response.render(JavaScriptHeaderItem.forUrl(" > https://code.jquery.com/jquery-1.11.2.js")); > > response.render(JavaScriptHeaderItem.forUrl(" > https://code.jquery.com/ui/1.11.3/jquery-ui.js")); > > > response.render(OnDomReadyHeaderItem.forScript("$('#accordion').accordion()")); > } > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Jquery-methods-issue-with-wicket-6-13-tp4669599p4669609.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org > For additional commands, e-mail: users-help@wicket.apache.org > > --001a113ceca059faa1050f5d8570--