[z3-five] enabling submenuitems

Kapil Thangavelu k_vertigo at objectrealms.net
Fri Jul 13 22:27:09 CEST 2007


hi folks,

i was playing around with submenuitems recently, and ran into the issue  
that five's browser meta.zcml doesn't support it. its a fairly trivial fix  
to  to enable it. if i put together a unit test for the functionality,  
would anyone object to me adding this to Five 1.4, Five 1.5 branches, and  
the trunk?

cheers,

kapil


fwiw the diff is

Index: browser/meta.zcml
===================================================================
--- browser/meta.zcml   (revision 77691)
+++ browser/meta.zcml   (working copy)
@@ -23,6 +23,11 @@
            schema="zope.app.publisher.browser.metadirectives.IMenuItemSubdirective"
            />

+      <meta:subdirective
+          name="subMenuItem"
+           
schema="zope.app.publisher.browser.metadirectives.ISubMenuItemSubdirective"
+          />
+
      </meta:complexDirective>

      <meta:directive


More information about the z3-five mailing list