[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ZMI/tests - testZMIViewUtility.py:NONE

Jim Fulton jim@zope.com
Fri, 20 Dec 2002 18:00:28 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZMI/tests
In directory cvs.zope.org:/tmp/cvs-serv5764/lib/python/Zope/App/ZMI/tests

Removed Files:
	testZMIViewUtility.py 
Log Message:

Refactored the way browser menus are made available to views.  

- Added a new view, view_get_menu, for accessing menus. 
  From zpt, do something like:

    tal:repeat="view context/@@view_get_menu/zmi_views"

- Changed existing templates to get the "zmi_views" menu this way.

- Added a new "zmi_actions" and incorporated it into the default skin.
  See "view_macros.pt".

- Ripped out the no-longer-needed ZMIViews utility. 


=== Removed File Zope3/lib/python/Zope/App/ZMI/tests/testZMIViewUtility.py ===