I'm making a new product derived from Poll, and I want it to have the
standard 'Contents' tab where it displays its subitems in a tree and
stuff.  The original Poll product (Poll.py) has:

        {'label':'Properties', 'action':'manage_main'},

    manage_main=HTMLFile('pollEdit', globals())

So it has no Content tab, and the main view is an edit form.

I took a line from another product with the behavior I wanted and said:

        {'label':'Contents', 'action':'manage_main'},

(removing the Properties entry) and didn't define manage_main at all.

But it looks exactly the same as before!  Is there somewhere else it could
be determining what tabs to display and what function to call for
each?  Poll is derived from (Folder,RoleManager) -- it should be looking
in Folder, right?  Am I totally off base here?


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

Reply via email to