[Zope] Re: manage_addDocument add DTML Method under Zope 2.6.0

Maik Jablonski maik.jablonski@uni-bielefeld.de
Sun, 09 Feb 2003 15:19:50 +0100


Devin L. Ganger wrote:
> Can anyone else please confirm the odd behavior I'm seeing in 2.6.0?
...
>   entries_folder.manage_addProduct['OFSP'].manage_addDocument(id, id)
...
> The object being created is a DTML Method, *not* a DTML Document.  This
> is really frustrating, as I need this object to have its own properties
> and namespace.

It must be manage_addDTMLDocument for DTMLDocuments, manage_addDocument 
only adds DTMLMethods.

entries_folder.manage_addProduct['OFSP'].manage_addDTMLDocument(id, id)
 
         ~~~~
-mj