File:  [Repository] / XMLRpcTools / __init__.py
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Fri Oct 26 21:25:20 2007 UTC (16 years, 8 months ago) by casties
Branches: MAIN
CVS tags: HEAD
new version of xmlrpctools
* new XmlRpcProxyFolder
* new XmlRpcProxyMethod

    1: import XMLRpcTools
    2: import XmlRpcProxy
    3: 
    4: def initialize(context):
    5:     """xmlrpc server proxy"""
    6: 
    7:     context.registerClass(
    8:         XMLRpcTools.XMLRpcServerProxy,
    9:         constructors = (
   10:           XMLRpcTools.manage_addXMLRpcServerProxyForm,
   11:           XMLRpcTools.manage_addXMLRpcServerProxy
   12:           )
   13:         )
   14:     
   15: 
   16:     context.registerClass(
   17:         XmlRpcProxy.XmlRpcProxyFolder,
   18:         constructors = (  
   19:             XmlRpcProxy.manage_addXmlRpcProxyFolderForm,
   20:             XmlRpcProxy.manage_addXmlRpcProxyFolder
   21:             )
   22:         )
   23:     
   24:     context.registerClass(
   25:         XmlRpcProxy.XmlRpcProxyMethod,
   26:         constructors = (  
   27:             XmlRpcProxy.manage_addXmlRpcProxyMethodForm,
   28:             XmlRpcProxy.manage_addXmlRpcProxyMethod
   29:             )
   30:         )

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>