[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation/xmlrpc - configure.zcml:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Aug 4 20:19:52 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/services/translation/xmlrpc
In directory cvs.zope.org:/tmp/cvs-serv1822/src/zope/app/services/translation/xmlrpc

Modified Files:
	configure.zcml 
Log Message:
After wanting to fix XML-RPC for over a year, I finally got around to do
it. You can now specify view names, create default views and of course you
do not have access to the object's methods directly anymore.

Added some tests for all of this.

Updated XML-RPC directives. Made them also a bit more consistent with the 
browser ones.

This should make the XML-RPC code ready for the beta.


=== Zope3/src/zope/app/services/translation/xmlrpc/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/services/translation/xmlrpc/configure.zcml:1.4	Tue Mar 25 13:21:37 2003
+++ Zope3/src/zope/app/services/translation/xmlrpc/configure.zcml	Mon Aug  4 19:19:17 2003
@@ -9,7 +9,12 @@
       name="methods"
       for="zope.i18n.interfaces.ITranslationService"
       permission="zope.ManageContent" 
-      allowed_methods="getAllLanguages getAllDomains getMessagesFor"
-      factory="zope.app.services.translation.xmlrpc.methods.Methods" />
+      allowed_attributes="getAllLanguages getAllDomains getMessagesFor"
+      class="zope.app.services.translation.xmlrpc.methods.Methods" />
       
+  <xmlrpc:defaultView
+      name="methods"
+      for="zope.i18n.interfaces.ITranslationService" />
+     
+
 </zopeConfigure>




More information about the Zope3-Checkins mailing list