[Zope] Zope book error or version difference?
Casey Duncan
cduncan@kaivo.com
Fri, 04 May 2001 08:27:45 -0600
Dennis Nichols wrote:
>
> Zope Book .pdf fetched today says on page 258
>
> >ObjectManager Constructor
> >
> >manage_addDocument(id, title)
> >
> >Add a DTML Document to the current ObjectManager
>
> But when I call manage_addDocument from DTML using in Zope 2.2.2, it
> actually adds a DTML Method (!)
>
> However, manage_addDTMLDocument(id, title) does add a DTML Document. Could
> be a change between 2.2.2 and 2.3.x or it could be an error in the book, in
> which case I thought I should point it out. Or maybe I should've skipped
> the beer with dinner.
>
> --
> Dennis Nichols
> nichols@tradingconnections.com
>
AFAIK manage_addDocument is a deprecated API call from the days before
there were both DTML methods and documents.
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>