[Seaside] Accessing the root component from a child one

Avi Bryant avi.bryant at gmail.com
Mon Feb 28 15:04:06 CET 2005


On Mon, 28 Feb 2005 10:39:38 -0300, Esteban A. Maringolo
<eMaringolo at smalltalking.net> wrote:

>         I want that when some action is performed at Child 2, it  make
> WARootComp call to other Component. I could have a link (i.e.
> instVar) from child to parent, but i want to know if there is a more
> seaside way of doing this, something like topComponent, root
> component, or alike. Ala topShell in standard views.

No, I would say it's more the "Seaside" way to have the explicit link
from child to parent, since that keeps it to a local interaction
rather than relying on a global concept of "root" - which might change
if, for example, somebody later embedded your application into a
portal.

Avi


More information about the Seaside mailing list