[Zope-Checkins] CVS: Zope2 - manage_tabs.dtml:1.25

Amos Latteier amos@korak.digicool.com
Thu, 9 Dec 1999 20:23:56 -0500


Update of /cvs-repository/Zope2/lib/python/App
In directory korak.digicool.com:/tmp/cvs-serv3974

Modified Files:
	manage_tabs.dtml 
Log Message:
Added a provision to fix misbehaving tab labels which appear when the action of a view
is not the same as the URL. If a management_view variable is set, then this rather than
the URL will be consulted to determine the selected management view of the the management
screen. The selected view is displayed in a lighter color than the other tabs, and can be
used to determine the help screen.

An easy way to define the management_view variable is to set it when creating a HTMLFile,
for example,

  manage_findForm=HTMLFile('findForm', globals(), management_view='Find')