[Zope] python script ques

Dieter Maurer dieter@handshake.de
Tue, 11 Jun 2002 21:41:20 +0200


Aseem Mohanty writes:
 > If I want to know whether or not an object bound to the 'context' 
 > variable in Python Script has a specific child, how do I do it?
 > 
 > For e.g.
 > 
 > PScript:
 > get_help(topic):
 >     if context.[has_child]('help'):
 >         if context.help.[has_child](topic):
 >            path = context.help.absolute_url() + '/topic"
 >     else:
 >             path = None
 >     return path
Search the mailing list archives for "aq_base"...


Dieter