[Zope] adding files and folder in a object during generation

Andreas Jung lists at zopyx.com
Thu Mar 15 01:23:14 EDT 2007



--On 14. März 2007 22:18:06 -0700 Allen Huang <swapp0 at yahoo.com> wrote:

> I created an external product using python to creates a folderish object.
> During object instantiation by              manage_addProduct(self, id,
> ......):
> I wish to add a couple of empty files and folder.

Such tasks belong into manage_afterAdd() or should be implemented using the 
lately introduced event-based notification mechanism.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070315/732de6a8/attachment.bin


More information about the Zope mailing list