cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <>
Subject RE: ParentAware Components Revisited
Date Wed, 22 Oct 2003 18:14:02 GMT
The issue is this:

A component in a child container has access to all components in the
component manager - if the role isn't found in it's own CM, the lookup
to the parent.

However, when looking up a component via a selector, this is not the
case. Since
the selector was found, lookup stops there, irrespective of whether the
passed to the selector really results in a component.

The ParentAware interface enables this - if a selector for
my.Generator/Selector doesn't
have a component for hint "xyz" then it can look up
my.Generator/Selector in the parent
CM and try there.


View raw message