[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/publisher - browser.py:1.3.40.1
Peter Simmons
pete@bcmpweb.com
Sun, 13 Jul 2003 05:11:11 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/publisher
In directory cvs.zope.org:/tmp/cvs-serv29766/src/zope/app/interfaces/publisher
Modified Files:
Tag: ozzope-menu
browser.py
Log Message:
: ----------------------------------------------------------------------
: This branch contains the beginnings of a recursive menuing system
: Including a drop-down add menu written in javascript. It implements
: extension to the zcml which allows you to link menu items to menus thus
: creating submenus.
: Peter S and Dave F Melbourne Sprint
:
: Committing in .
:
: Modified Files:
: Tag: ozzope-menu
: products.zcml.in src/zope/app/browser/menu.py
: src/zope/app/browser/menus.zcml
: src/zope/app/browser/container/configure.zcml
: src/zope/app/browser/skins/configure.zcml
: src/zope/app/interfaces/publisher/browser.py
: src/zope/app/publisher/browser/configure.zcml
: src/zope/app/publisher/browser/globalbrowsermenuservice.py
: src/zope/app/publisher/browser/meta.zcml
:----------------------------------------------------------------------
=== Zope3/src/zope/app/interfaces/publisher/browser.py 1.3 => 1.3.40.1 ===
--- Zope3/src/zope/app/interfaces/publisher/browser.py:1.3 Sat Dec 28 11:25:45 2002
+++ Zope3/src/zope/app/interfaces/publisher/browser.py Sun Jul 13 05:10:36 2003
@@ -29,7 +29,14 @@
description -- The item title
action -- A (possibly relative to object) URL for the menu item.
+ Not allowed for submenu definitons.
+ selected -- Indicates that the current context is the same as the action's path.
+ Ignored for submenu definitions.
+
+ submenu -- A reference to a class that is responsible for retrieving the submenu.
+ Not allowed for action definition.
+
The entries returned are accessable to the current user and
have passed any menu item filters, if any.
"""
@@ -44,7 +51,13 @@
description -- The item title
action -- A (possibly relative to object) URL for the menu item.
-
+ Do not define this if you are defining submenu.
+
+ submenu -- A reference to a class that is responsible for retrieving the submenu.
+ Do not define this if you are defining action.
+
+ selected -- Indicates that the current context is the same as the action's path.
+
The entry returned is accessable to the current user and
has passed any menu item filters, if any.