15 Aug
2001
15 Aug
'01
10:56 a.m.
What is the Right Way to recurse in children ? Should I use objectItems or objectValues ? I planned on using: if hasattr(aq_base(obj), 'objectValues'): subobjs = obj.objectValues() if subobjs: for s in subobjs: # ... But I noticed that most Zope code uses objectItems for such recursions, even though the id is sometimes not used. And that CMFCore.PortalContent only defines objectItems for its talkback, not objectValues. Hmm... Thanks, Florent Guillaume Nuxeo
9023
Age (days ago)
9023
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dieter Maurer -
Florent Guillaume