> def addExternalMethod(self, id, title, module, function, REQUEST=None):
>     """Add an external method to a folder"""
>     id=str(id)
>     title=str(title)
>     module=str(module)
>     function=str(function)
>     i=ExternalMethod(id,title,module,function)
>     #self._setObject(id,i)

> I don't get errors at start up, and of course my "product" isn't
> registered, but can anyone tell me what self wants to be in
> addExternalMethod and how I could get there from initialize(context)?

self wants to be the folder where you want to add the ExternalMethod. 
ObjectManagers, thus also Folders, have a method _setObject that allow 
you to add objects to them.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to