[Zope] the "manage_" methods

Dieter Maurer dieter@handshake.de
Fri, 7 Jul 2000 00:32:27 +0200 (CEST)


Fabio Akita writes:
 > I am trying to realize how the manage_ DTML methods works. The only
 > documentation that I found was a quick reference that just say that the
 > methods exist with simple descriptions as:
 > 
 > manage_addDTMLMethod(id, [title, file, REQUEST, submit])
The name is well chosen.
The method adds a DTML Method to its folder (it is a folder method)
and gives it "id", "title". The content is taken from "file".
The REQUEST probably is used only for a "redirect" after
the operation.


 > But there is no details about how this works, what´s required. Is there any
 > documentation about them? I am trying to do a webpage that can change the
 > content of properties of a folder.
Maybe, you find something in the InterfaceWiki
or in the new 2.2 help system.


If you do not find anything, you can look at the source.
Zope code is quite readable (mostly).



Dieter