This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
tabellio.pcfviews/tabellio/pcfviews/configure.zcml

65 lines
1.8 KiB
XML

<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:grok="http://namespaces.zope.org/grok"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:five="http://namespaces.zope.org/five"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="tabellio.pcfviews">
<!-- Grok the package to initialise schema interfaces and content classes -->
<grok:grok package="." />
<five:registerPackage package="." initialize=".initialize" />
<i18n:registerTranslations directory="locales" />
<browser:view
for=".homenews.IHomeNews"
name="pic"
class=".homenews.PictureView"
permission="zope2.View"
/>
<browser:page
for="tabellio.documents.document.IDocument"
name="view"
class=".document.View"
template="document.pt"
permission="zope2.View"
/>
<browser:page
for="tabellio.documents.dossier.IDossier"
name="view"
class=".dossier.View"
template="dossier.pt"
permission="zope2.View"
/>
<browser:page
for="tabellio.documents.question.IQuestion"
name="view"
class=".question.View"
template="question.pt"
permission="zope2.View"
/>
<browser:page
for="themis.datatypes.commission.ICommission"
name="view"
class=".commission.View"
template="commission.pt"
permission="zope2.View"
/>
<genericsetup:registerProfile
name="default"
title="tabellio.pcfviews"
directory="profiles/default"
description="Installs the tabellio.pcfviews package"
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
<!-- -*- extra stuff goes here -*- -->
</configure>