Skip to content

Commit

Permalink
Refactored xmlrpc:
Browse files Browse the repository at this point in the history
- Made it possible to define xml-rpc methods on content. This made the
  "default view" mechanism unnecessary.

- Removed the default-view mechanism.  This is backward incompatable, 
  but it's better to do this now, rather than after X3.0.

This allowed the custom publication object to basically go away.

- Added documentation in the form of a doctest.
  • Loading branch information
Jim Fulton committed Aug 27, 2004
1 parent e80b446 commit 49b9d1a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions xmlrpc/configure.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:xmlrpc="http://namespaces.zope.org/xmlrpc"
>

<!-- Translation Domain View Directives -->

<xmlrpc:view
for="zope.i18n.interfaces.ITranslationDomain"
permission="zope.ManageContent"
methods="getAllLanguages getMessagesFor"
class=".methods.Methods"
/>


</configure>

0 comments on commit 49b9d1a

Please sign in to comment.