[Zope3-checkins] CVS: Products3/demo/messageboard/step11 - configure.zcml:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Aug 21 18:09:20 EDT 2003


Update of /cvs-repository/Products3/demo/messageboard/step11
In directory cvs.zope.org:/tmp/cvs-serv21195/step11

Modified Files:
	configure.zcml 
Log Message:
Update Step 11


=== Products3/demo/messageboard/step11/configure.zcml 1.2 => 1.3 ===
--- Products3/demo/messageboard/step11/configure.zcml:1.2	Sun Aug  3 14:34:20 2003
+++ Products3/demo/messageboard/step11/configure.zcml	Thu Aug 21 17:08:49 2003
@@ -178,17 +178,25 @@
       name="methods"
       for=".interfaces.IMessageBoard"
       permission="zopeproducts.messageboard.Edit" 
-      allowed_methods="getMessageNames addMessage deleteMessage 
-                       getDescription setDescription"
-      factory=".xmlrpc.MessageBoardMethods" />
+      allowed_attributes="getMessageNames addMessage deleteMessage 
+                          getDescription setDescription"
+      class=".xmlrpc.MessageBoardMethods" />
 
+  <xmlrpc:defaultView
+      for=".interfaces.IMessageBoard"
+      name="methods" />
+      
   <xmlrpc:view
       name="methods"
       for=".interfaces.IMessage"
       permission="zopeproducts.messageboard.Edit" 
-      allowed_methods="getMessageNames addMessage deleteMessage 
-                       getTitle setTitle getBody setBody"
-      factory=".xmlrpc.MessageMethods" />
+      allowed_attributes="getMessageNames addMessage deleteMessage 
+                          getTitle setTitle getBody setBody"
+      class=".xmlrpc.MessageMethods" />
+
+  <xmlrpc:defaultView
+      for=".interfaces.IMessage"
+      name="methods" />
 
   <!-- Mail Subscriptions support -->
   <adapter
@@ -201,7 +209,7 @@
   <mail:smtpMailer id="msgboard-smtp" hostname="localhost" port="25" />
 
   <mail:queuedService permission="zope.SendMail"
-                      queuePath="./src/zopeproducts/messageboard/mail-queue"
+                      queuePath="./mail-queue"
                       mailer="msgboard-smtp" />
 
   <!-- Register event listener for change mails -->




More information about the Zope3-Checkins mailing list