[Zope-CVS] SVN: ldapadapter/trunk/ Register tool and adapter for ILDAPAdapter, not IManageableLDAPAdapter.

Florent Guillaume fg at nuxeo.com
Wed Oct 13 11:06:43 EDT 2004


Log message for revision 28096:
  Register tool and adapter for ILDAPAdapter, not IManageableLDAPAdapter.
  Add vocabulary of ldap adapters.
  
  

Changed:
  U   ldapadapter/trunk/browser/configure.zcml
  U   ldapadapter/trunk/configure.zcml

-=-
Modified: ldapadapter/trunk/browser/configure.zcml
===================================================================
--- ldapadapter/trunk/browser/configure.zcml	2004-10-13 15:00:04 UTC (rev 28095)
+++ ldapadapter/trunk/browser/configure.zcml	2004-10-13 15:06:42 UTC (rev 28096)
@@ -5,7 +5,7 @@
 
     <!-- LDAPAdapter -->
     <tool
-        interface="ldapadapter.interfaces.IManageableLDAPAdapter"
+        interface="ldapadapter.interfaces.ILDAPAdapter"
         title="LDAP Adapter"
         description="A LDAP adapter."
         />

Modified: ldapadapter/trunk/configure.zcml
===================================================================
--- ldapadapter/trunk/configure.zcml	2004-10-13 15:00:04 UTC (rev 28095)
+++ ldapadapter/trunk/configure.zcml	2004-10-13 15:06:42 UTC (rev 28096)
@@ -28,11 +28,17 @@
 
   </content>
 
+  <vocabulary
+      name="LDAP Adapter Names"
+      factory="zope.app.utility.vocabulary.UtilityVocabulary"
+      interface="ldapadapter.interfaces.ILDAPAdapter"
+      nameOnly="True" />
+
   <!-- LDAP connection test adapter -->
   <adapter
       factory="ldapadapter.check.CheckLDAPAdapter"
       provides="ldapadapter.interfaces.ICheckLDAPAdapter"
-      for="ldapadapter.interfaces.IManageableLDAPAdapter"
+      for="ldapadapter.interfaces.ILDAPAdapter"
       />
 
   <include package=".browser" />



More information about the Zope-CVS mailing list