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 0A57D9304 for ; Thu, 1 Mar 2012 05:01:56 +0000 (UTC) Received: (qmail 4528 invoked by uid 500); 1 Mar 2012 05:01:54 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 4442 invoked by uid 500); 1 Mar 2012 05:01:52 -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 4387 invoked by uid 99); 1 Mar 2012 05:01:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 05:01:50 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thedug@gmail.com designates 209.85.213.45 as permitted sender) Received: from [209.85.213.45] (HELO mail-yw0-f45.google.com) (209.85.213.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2012 05:01:42 +0000 Received: by yhoo21 with SMTP id o21so68012yho.32 for ; Wed, 29 Feb 2012 21:01:21 -0800 (PST) Received-SPF: pass (google.com: domain of thedug@gmail.com designates 10.100.233.35 as permitted sender) client-ip=10.100.233.35; Authentication-Results: mr.google.com; spf=pass (google.com: domain of thedug@gmail.com designates 10.100.233.35 as permitted sender) smtp.mail=thedug@gmail.com; dkim=pass header.i=thedug@gmail.com Received: from mr.google.com ([10.100.233.35]) by 10.100.233.35 with SMTP id f35mr1510759anh.37.1330578081532 (num_hops = 1); Wed, 29 Feb 2012 21:01:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=uIk3RCGuE7K3W/xwnZM++HOHU20y0NjDOAExCNdn7yQ=; b=n/2LfsfpWc8Cm44w/n76vUDoUjxcq6nz6++DqyIzxEOadIc0SVxPHaFlqlsWI4vHKc 5edw06An9zzKylSPWZsPbQl2hm78Z51CL2z+8JyXRwldDcDhSM5ibI3EbGrj9yEGi0lb 87yOiDCRp5GQgpv2MKzQdx7OCrh9/YiVQyhSw= Received: by 10.100.233.35 with SMTP id f35mr1185421anh.37.1330578081475; Wed, 29 Feb 2012 21:01:21 -0800 (PST) Received: from [10.55.200.146] (rrcs-24-153-151-26.sw.biz.rr.com. [24.153.151.26]) by mx.google.com with ESMTPS id h36sm2012018yhj.6.2012.02.29.21.01.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 29 Feb 2012 21:01:20 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: Migrating to wicket 1.5 From: Douglas Ferguson In-Reply-To: <53DB5812-0886-4FC8-911A-787CC0E1A7B7@gmail.com> Date: Wed, 29 Feb 2012 23:01:19 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <9D454619-6B23-4F9E-B28C-A7D27B26C45E@gmail.com> References: <3D1D73D0-29AB-48DA-96F0-6B52019DA48F@thebedells.org> <53DB5812-0886-4FC8-911A-787CC0E1A7B7@gmail.com> To: users@wicket.apache.org X-Mailer: Apple Mail (2.1257) X-Virus-Checked: Checked by ClamAV on apache.org Just found another one: What did AbortException get replaced with? Douglas On Feb 29, 2012, at 10:44 PM, Douglas Ferguson wrote: > I was reading the migration doc and I'm not sure how I would migrate = this to 1.5: >=20 > WebRequest webRequest =3D (WebRequest) = RequestCycle.get().getRequest(); > HttpServletRequest httpServletRequest =3D = (HttpServletRequest)webRequest.getContainerRequest(); > String jqueryURl =3D = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"; > if(httpServletRequest.isSecure()){ > jqueryURl =3D jqueryURl.replaceFirst("http://", = "https://"); > } > = component.add(JavascriptPackageResource.getHeaderContribution(jqueryURl));= --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org For additional commands, e-mail: users-help@wicket.apache.org