On Friday 31 March 2006 08:49, Jeff Rush wrote:
whereas I'm trying to get:
X.__getattr__('Y') # X.Y
You can use: X/++attribute++Y. A list of all those traversal namespaces are in
zope.app.traversing/configure.zcml.
Regards,
Stephan
--
Stephan Richter
CBU Physics Chemistry (B.S.) /
I think the answer to that question is both, but X['Y'] seem to have
precedents over X.Y.
class MyContainer(OOBTree):
title=u''
class MyContent(Persistent):
title=u''
Adding MyContent in MyContainer you can traverse MyContainer/MyContent/title
or you can traverse MyContainer/title