Is there a simple/correct way to suppress a menu item using ZCML?

For example, I have a content type that implements
IAttributeAnnotatable and I want to suppress display of the "Metadata"
tab in zmi_views.

I expected this would work:

----
  <menuItem
      for="foo.interfaces.IFoo"
      menu="zmi_views"
      title="Metadata"
      action="EditMetaData.html"
      filter="python:0"
      />
__

When my content interface *inherits* from an interface, this seems to
work... but when my class *implements* an interface, this appears not
to.

What is the correct way to do what I'm trying to do?

TIA,

Dylan
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to