[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/adapter - configure.zcml:1.2

Jim Fulton cvs-admin at zope.org
Fri Nov 21 12:11:13 EST 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/services/adapter
In directory cvs.zope.org:/tmp/cvs-serv31322/src/zope/app/browser/services/adapter

Added Files:
	configure.zcml 
Log Message:
Moved the adapter service views into a package.

Replaced the view service with a presentation service, in a subpackage.

Factored the zpt config into separate module


=== Zope3/src/zope/app/browser/services/adapter/configure.zcml 1.1 => 1.2 ===
--- /dev/null	Fri Nov 21 12:11:13 2003
+++ Zope3/src/zope/app/browser/services/adapter/configure.zcml	Fri Nov 21 12:11:13 2003
@@ -0,0 +1,32 @@
+<zope:configure 
+   xmlns:zope="http://namespaces.zope.org/zope"
+   xmlns="http://namespaces.zope.org/browser">
+
+  <menuItem
+      for="zope.app.interfaces.container.IAdding"
+      menu="add_service"
+      action="zope.app.services.adapter.LocalAdapterService"
+      title="Adapter Service" 
+      />
+
+  <editform
+    schema="zope.app.services.adapter.IAdapterRegistration"
+    name="index.html"
+    menu="zmi_views"
+    label="Change adapter"
+    permission="zope.ManageServices"
+    />
+
+  <addform
+      schema="zope.app.services.adapter.IAdapterRegistration"
+      name="AdapterRegistration"
+      content_factory="zope.app.services.adapter.AdapterRegistration"
+      arguments="provided factoryName"
+      keyword_arguments="required name permission"
+      label="Register an adapter"
+      permission="zope.ManageServices"
+      fields="required provided name permission factoryName" 
+      menu="add_registration" title="Adapter Registration"
+      />
+
+</zope:configure>




More information about the Zope3-Checkins mailing list