Return-Path: Delivered-To: apmail-incubator-wicket-commits-archive@locus.apache.org Received: (qmail 119 invoked from network); 1 Mar 2007 17:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 17:26:11 -0000 Received: (qmail 8956 invoked by uid 500); 1 Mar 2007 17:26:20 -0000 Delivered-To: apmail-incubator-wicket-commits-archive@incubator.apache.org Received: (qmail 8952 invoked by uid 500); 1 Mar 2007 17:26:20 -0000 Mailing-List: contact wicket-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wicket-dev@incubator.apache.org Delivered-To: mailing list wicket-commits@incubator.apache.org Received: (qmail 8943 invoked by uid 99); 1 Mar 2007 17:26:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:26:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 09:26:10 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C98347141FA for ; Thu, 1 Mar 2007 09:25:50 -0800 (PST) Message-ID: <7106833.1172769950823.JavaMail.jira@brutus> Date: Thu, 1 Mar 2007 09:25:50 -0800 (PST) From: "Igor Vaynberg (JIRA)" To: wicket-commits@incubator.apache.org Subject: [jira] Commented: (WICKET-313) AjaxRequestTarget error handling In-Reply-To: <20518883.1172179145543.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WICKET-313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477034 ] Igor Vaynberg commented on WICKET-313: -------------------------------------- ajaxrequesttarget.respond() doesnt do any event processing - it only does rendering. so errors there shouldnt occur once youve tested your app because they would be internal to wicket's rendering. not sure what value it adds to add this extra level of indirection > AjaxRequestTarget error handling > -------------------------------- > > Key: WICKET-313 > URL: https://issues.apache.org/jira/browse/WICKET-313 > Project: Wicket > Issue Type: Improvement > Components: wicket > Reporter: Oscar Bueno > Assigned To: Jean-Baptiste Quenot > Fix For: 2.0 > > > Now the respond method of the AjaxRequestTarget is catching all the RuntimeExceptions that are throwed. I would prefer to handle this exceptions by myself. I have a requestTarget that is a wrapper of the wicket AjaxRequestTarget where we could made something in case of errors in the respond method of the AjaxRequestTarget. > I'm using the AjaxRequestTarget to replace a wizard panel, in case of error, I would display an errors panel instance of the original panel. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.