Hi there,

Ok so I have a class that has multiple inheritance. My main class (A) works
fine, but I wanted to add in folderish properties. The problem is the order
of multiple inheritance and viewing folder objects. When you view a folder
from you call index_html and this gives a content list.

By inheriting this way:

class B(A, Folder):

I have kept all my A methods. However viewing it does not produce the
content list since its overwritten by A. Of course inheriting:

class B(Folder, A):

Does work for that, but breaks all my other methods.


Well I tried defining a tab - view_folder which was something along the line

def view_folder(self, client=None, REQUEST={}):
    ''' doc string '''
    return Folder(self, client, REQUEST)

But get an attribute error on manage_tabs.

Any ideas?


  Andy McKay, Developer.

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

Reply via email to