Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 39151 invoked from network); 19 Jul 2010 22:11:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 19 Jul 2010 22:11:31 -0000 Received: (qmail 90013 invoked by uid 500); 19 Jul 2010 22:11:31 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 89972 invoked by uid 500); 19 Jul 2010 22:11:31 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 89964 invoked by uid 99); 19 Jul 2010 22:11:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 22:11:31 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gkbrown@mac.com designates 17.148.16.102 as permitted sender) Received: from [17.148.16.102] (HELO asmtpout027.mac.com) (17.148.16.102) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Jul 2010 22:11:22 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from [192.168.1.10] (pool-98-110-173-176.bstnma.fios.verizon.net [98.110.173.176]) by asmtp027.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L5T00GCGS3L2EA0@asmtp027.mac.com> for user@pivot.apache.org; Mon, 19 Jul 2010 15:06:59 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007190120 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-07-19_07:2010-07-19,2010-07-19,1970-01-01 signatures=0 Subject: Re: messages that ascend the containment hierarchy From: Greg Brown In-reply-to: <20100719145145.D57687@p3c0.erirefr.arg> Date: Mon, 19 Jul 2010 18:06:57 -0400 Message-id: References: <20100715230954.T35196@p3c0.erirefr.arg> <4C40DE64.1070909@hms.harvard.edu> <1773CAE0-D416-412A-9F5A-CB741DD864F9@mac.com> <20100719054908.U14433@p3c0.erirefr.arg> <9CD5E6D7-E785-4105-A013-36BE4E79F552@mac.com> <20100719145145.D57687@p3c0.erirefr.arg> To: user@pivot.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org > I think of these kinds of events as a part of the public interface of a component. Listeners respond to events they're interested in. One such event may be---to use a very verbose and impractical name---"add a new address form". Or "refresh this data model". Or "follow this link". Usually these events are dispatched by a push button, but sometimes they can be dispatched from selections in a list or table, or selection made with a radio button or check buttons. These are exactly the kind of events that EventBus and Pivot's pub/sub API are intended to support. I'd suggest taking a look at one of those - you may find a simpler solution to your problem.