[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/utility -
configure.zcml:1.17
Anthony Baxter
anthony at interlink.com.au
Sun Feb 8 20:16:16 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/browser/services/utility
In directory cvs.zope.org:/tmp/cvs-serv6584/src/zope/app/browser/services/utility
Modified Files:
configure.zcml
Log Message:
Adding a Utility Registration now defaults to Status: Active
The Utility Service now has an 'Add Utility' zmi_action
=== Zope3/src/zope/app/browser/services/utility/configure.zcml 1.16 => 1.17 ===
--- Zope3/src/zope/app/browser/services/utility/configure.zcml:1.16 Sun Dec 7 05:04:50 2003
+++ Zope3/src/zope/app/browser/services/utility/configure.zcml Sun Feb 8 20:16:15 2004
@@ -54,8 +54,7 @@
permission="zope.ManageServices"
content_factory="zope.app.services.utility.UtilityRegistration"
arguments="name interface componentPath"
- set_after_add="status"
- fields="name interface componentPath permission status"
+ fields="name interface componentPath permission"
usage="addingdialog"/>
<!-- When editing the registration of an existing utility object,
@@ -69,5 +68,17 @@
schema="zope.app.interfaces.services.utility.IUtilityRegistration"
permission="zope.ManageServices"
fields="name interface componentPath permission status" />
+
+ <menuItems
+ menu="zmi_actions"
+ for="zope.app.interfaces.services.utility.ILocalUtilityService">
+
+ <menuItem
+ title="Add utility"
+ action="../AddUtility"
+ permission="zope.ManageServices" />
+
+ </menuItems>
+
</zope:configure>
More information about the Zope3-Checkins
mailing list