Return-Path: Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: (qmail 4180 invoked from network); 2 Jul 2010 23:21:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Jul 2010 23:21:46 -0000 Received: (qmail 87698 invoked by uid 500); 2 Jul 2010 23:21:46 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 87630 invoked by uid 500); 2 Jul 2010 23:21:45 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 87623 invoked by uid 99); 2 Jul 2010 23:21:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 23:21:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jul 2010 23:21:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o62NDpZp014824 for ; Fri, 2 Jul 2010 23:13:52 GMT Message-ID: <8777039.183971278112431919.JavaMail.jira@thor> Date: Fri, 2 Jul 2010 19:13:51 -0400 (EDT) From: "Howard M. Lewis Ship (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Created: (TAP5-1199) ClassTransformation should include an API specifically for adding a component event handler to a component class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ClassTransformation should include an API specifically for adding a component event handler to a component class ---------------------------------------------------------------------------------------------------------------- Key: TAP5-1199 URL: https://issues.apache.org/jira/browse/TAP5-1199 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.2.0 Reporter: Howard M. Lewis Ship Priority: Minor There's a bunch of steps in making this happen; it would be nice if it was just something like: transformation.addEventHandler("activate", 0, new ComponentEventHandler(Event event) { ... }); The number is the minimum number of parameters. The semantics of this is that the handler is invoked first, with an invocation.proceed() at the end. The handler is not invoked if the event is aborted. The result of the invocation is overridden to true if the handler is invoked. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.