On Aug 20, 2007, at 9:45 AM, Christian Zagrodnick wrote:
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
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 Fulton mailto:[EMAIL PROTECTED] Python
CTO (540) 361-1714
Zope Corporation http://www.zope.com http://www.zope.org
Zope3-dev mailing list