The following is python code for a generic folderish object.
This is my first attempt so there are bound to be errors.
This code works.
The only thing is that in the id does not show up in the menu.
What is wrong ?
 
 
 


 

import blah blah

manage_addSeqForm=DTMLFile('dtml/addSeqForm',globals())

def manage_addSeq(self,id,title,REQUEST=None):
 
 """docstring"""
               id=str(id)
               title=str(title)
               c=Seq(id, title)
               self._setObject(id, c)
               if REQUEST is not None:
                                   return self.manage_main(self, REQUEST,update_menu=1)

class Seq(Acquisition.Implicit,
                  Override.ObjectManager,
                  Persistent,
                  PropertyManager.PropertyManager,
                  AccessControl.Role.RoleManager,
                  SimpleItem.Item,):
 
 """docstring"""
 meta_type='Seq'
     manage_options=(
        (
        )
        +Override.ObjectManager.manage_options
        +PropertyManager.PropertyManager.manage_options
        +AccessControl.Role.RoleManager.manage_options
        +SimpleItem.Item.manage_options
        )

def __init__(self,id,title):
 """docstring"""
     self.id = id
     self.title = title
 

Weird Huh ?

Chris