view __init__.py @ 490:6f116b86a226 elementtree

more new template stuff. moved ImageFile index method to SrvTxtUtils
author casties
date Mon, 29 Aug 2011 16:39:50 +0200
parents f2c5417b7ff4
children 112578de1470
line wrap: on
line source

import documentViewer
import MpdlXmlTextServer

def initialize(context):
    """initialize ImageCollection"""
    context.registerClass(
        documentViewer.documentViewer,
        constructors = (
          documentViewer.manage_AddDocumentViewerForm,
          documentViewer.manage_AddDocumentViewer
          )
        )

    context.registerClass(
        MpdlXmlTextServer.MpdlXmlTextServer,
        constructors = (
          MpdlXmlTextServer.manage_addMpdlXmlTextServerForm,
          MpdlXmlTextServer.manage_addMpdlXmlTextServer
          )
        )