Return-Path: Delivered-To: apmail-incubator-wicket-commits-archive@locus.apache.org Received: (qmail 52018 invoked from network); 2 Mar 2007 11:21:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Mar 2007 11:21:14 -0000 Received: (qmail 94165 invoked by uid 500); 2 Mar 2007 11:21:21 -0000 Delivered-To: apmail-incubator-wicket-commits-archive@incubator.apache.org Received: (qmail 94143 invoked by uid 500); 2 Mar 2007 11:21:21 -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 93975 invoked by uid 99); 2 Mar 2007 11:21:21 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2007 03:21:21 -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; Fri, 02 Mar 2007 03:21:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6F7D27142F4 for ; Fri, 2 Mar 2007 03:20:51 -0800 (PST) Message-ID: <20475955.1172834451453.JavaMail.jira@brutus> Date: Fri, 2 Mar 2007 03:20:51 -0800 (PST) From: "Jean-Baptiste Quenot (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_12477264 ] Jean-Baptiste Quenot commented on WICKET-313: --------------------------------------------- Igor: yes ajaxrequesttarget.respond() can sometimes process user-provided code. For example, the onAttach() method of my ajax-rendered RefreshingView components call populateItem(), and this user method can possibly fail. So if you don't object, I would like to remove try/catch in ajaxrequesttarget.respond(). > 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.