pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clint Gilbert <clint_gilb...@hms.harvard.edu>
Subject Re: messages that ascend the containment hierarchy
Date Fri, 16 Jul 2010 22:34:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't know your exact scenario, but I've had good luck in my pivot app
using something like EventBus - basically an publish/subscribe system
for events - for invoking code on sibling components.  There's even a
Pivot-centric tutorial with lots and lots of examples:

http://www.eventbus.org/confluence/pages/viewpage.action?pageId=819222

Michael Allman wrote:
> Is there a means in Pivot for a component to send a generic message to its 
> ancestors (aside from manually walking the hierarchy and calling methods 
> on each parent in turn)?  The prototypical example I'm thinking of here is 
> event bubbling.
> 
> Cheers,
> 
> Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkxA3mQACgkQ5IyIbnMUeTsXCACdHPl9JZo2En/W/ScMm/F934mQ
RYAAmQElWmB/6Agk4zIzqNEz4goqhB99
=3v/w
-----END PGP SIGNATURE-----

Mime
View raw message