<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><DIV>I created an external product using python to creates a folderish object. During object instantiation by </DIV>
<DIV> manage_addProduct(self, id, ......): </DIV>
<DIV>I wish to add a couple of empty files and folder. </DIV>
<DIV> </DIV>
<DIV>I tried </DIV>
<DIV> self.manage_addFolder('folderID', , 'folderName') </DIV>
<DIV>but it just create a folder outside of the object.</DIV>
<DIV>I tried</DIV>
<DIV> id.manage_addFolder('folderID', , 'folderName') </DIV>
<DIV>but id is a str and does not have manage_addFolder</DIV>
<DIV>I tried </DIV>
<DIV> self.getitem(id).manage_addFolder('folderID', , 'folderName')</DIV>
<DIV>_.getitem(id) is a method I frequently used in DTML but it didn't work in python.</DIV>
<DIV> </DIV>
<DIV>what expression do I use to replace with self so ZOPE will create folders and files in the newly generated object?</DIV></div><br>
<hr size=1>Finding fabulous fares is fun.<br><a href="http://farechase.yahoo.com/promo-generic-14795097;_ylc=X3oDMTFtNW45amVpBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzEEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--
">Let Yahoo! FareChase search your favorite travel sites</a> to find flight and hotel bargains.</body></html>