[Zope] Adding, removing views
Oleg Broytmann
Oleg Broytmann <phd@phd.pp.ru>
Tue, 13 Nov 2001 18:27:40 +0300
On Tue, Nov 13, 2001 at 04:02:10PM +0100, Jesper Holmberg wrote:
> manage_options = (
> {'label': 'Propriétés', 'action': 'manage_editForm',},
> {'label': 'Vue', 'action': 'index_html',},
> )
>
> But doing this means that all the standard views are gone. I would like to
> keep some of the standard views, and at the same time add a few of my own.
> How would I go about doing this?
manage_options = ParentClass.manage_options + (
{'label': 'Propriétés', 'action': 'manage_editForm',},
{'label': 'Vue', 'action': 'index_html',},
)
Oleg.
--
Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.