view __init__.py @ 45:0391fe75aef3

fixed handling of documents with missing access tag
author casties
date Wed, 26 Jul 2006 14:23:55 +0200
parents 0af46e75de3c
children 5c779d7b5f71
line wrap: on
line source

import documentViewer


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

    context.registerClass(
        documentViewer.DocumentViewerTemplate,
        constructors = (
          documentViewer.manage_addDocumentViewerTemplateForm,
          documentViewer.manage_addDocumentViewerTemplate
          )
        )