[Zope] manage_addDocument returning a DTML method

Dieter Maurer dieter@handshake.de
Wed, 8 Aug 2001 23:53:22 +0200 (CEST)


shawn grant writes:
 > I have a Python Script consisting of the following line of code:
 > 
 > container.manage_addDocument('test', 'Test Document')
 > 
 > , which is creating a DTML Method instead of Document.  Any idea as to 
 > the reason for this behaviour?
It is the old name of "manage_addDTMLMethod".

Use "manage_addDTMLDocument" to create a DTML Document.


Dieter