[Zope] Where/how are Folders built?

Andrew Diller macdaddy@mac.com
Wed, 26 Apr 2000 13:20:57 -0400


on 2000-04-25 7:43 PM, Jason Spisak at 444@hiretechs.com dribbled:

> Andrew Diller writes:
> 
>> Hello:
>> 
>> I'm posting this again-- still in search of some clues.
>> 
>> I'm creating a folderish object.
>> 
> Is ita ZClass that inherits "Folder" or "ObjectManager"?
> 
Thanks for the answer. It inherits Folder. I don't need it to contain other
classes, just other objects.

I still have a question about _where_ your example code would go---

>> When a new instance of this object is created, how can I get it to build
>> some other objects inside itself? (mostly dtml-documents).
>> 
> 
> <dtml-with "MyFolderishClass.createInObjectManager(REQUEST['id'],
> REQUEST)">
> <dtml-call "propertysheets.properties.manage_editProperties(REQUEST)">
> <dtml-call "manage_addDTMLMethod('myId', 'MyTitle' ,
> REQUEST['Mycontent'])">
> </dtml-with>
> 

Where would this code go - i.e:

- as new method in my Zclass
- into one of the Factory Objects for the Product?



thanks,

andy