On Wednesday 15 March 2006 17:45, Thierry FLORAC wrote:
>         TraversalError: (<zc.catalog.catalogindex.SetIndex object at
> 0xb46bfd2c>, 'documentCount')
>
>
> "documentCount" seems to be defined into the "SetIndex" class, so I
> don't understand this error...

Well, by default attributes are not traversable, so that the following does 
not work:

object/attrname

But this should work:

object/++attribute++attrname

SchoolTool has developed a clever dynamic Traversal mechanism that allows you 
to do the first case:

http://source.schooltool.org/viewcvs/trunk/schooltool/src/schooltool/traverser/

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to