view __init__.py @ 553:2fe04b61ed95

make sure unicodify and utf8ify return str and unicode.
author casties
date Mon, 24 Sep 2012 16:24:22 +0200
parents 198b3ae3ea7e
children 31f562fa7214
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
          )
        )