On Aug 20, 2007, at 9:45 AM, Christian Zagrodnick wrote:
Hoi
I just figured, that the browser:menuItem cannot be registered for
classes. But you can with browser:page. I think if a browser:page
can be registered for a class a menuItem should support this, too.
Also a <browser:page for="someclass" menu="..." /> will break on
getting the menu items because the implementation doesn't support
classes.
Should we fix that?
Yes. Any time we have a for, we should allow interfaces or classes.
BTW, you may soon discover what I discovered the other day, which is
that the tiny menu framework used for zmi_views doesn't work with
menu items registered for classes. Someone should fix that too. :)
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python
Powered!
CTO (540) 361-1714
http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com