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 D381491A6 for ; Fri, 23 Mar 2012 13:46:10 +0000 (UTC) Received: (qmail 90514 invoked by uid 500); 23 Mar 2012 13:46:09 -0000 Delivered-To: apmail-wicket-users-archive@wicket.apache.org Received: (qmail 90469 invoked by uid 500); 23 Mar 2012 13:46:09 -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 90460 invoked by uid 99); 23 Mar 2012 13:46:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 13:46:09 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 13:46:03 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SB4oH-0007mO-Tv for users@wicket.apache.org; Fri, 23 Mar 2012 06:45:41 -0700 Date: Fri, 23 Mar 2012 06:45:41 -0700 (PDT) From: Decebal Suiu To: users@wicket.apache.org Message-ID: <1332510341913-4498851.post@n4.nabble.com> In-Reply-To: <1322187594644-4106181.post@n4.nabble.com> References: <1322187594644-4106181.post@n4.nabble.com> Subject: Re: WebResource in Wicket 1.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi I have the same problem. I changed WebResource to ByteArrayResource but I don't know how I can migrate the following lines: public void onResourceRequested() { createJsonResource(); // TODO wicket 1.5 // jsonResource.onResourceRequested(); } No method onResourceRequested() in ByteArrayResource. // CharSequence dataPath = RequestCycle.get().urlFor(OpenFlashChart.this, IResourceListener.INTERFACE); CharSequence dataPath = RequestCycle.get().urlFor(new ComponentRenderingRequestHandler(this)); System.out.println("*** " + dataPath); datePath is null after migration to wicket 1.5 Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/WebResource-in-Wicket-1-5-tp4106181p4498851.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