Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9edc26e857
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (37 sloc) 1.591 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:grok="http://namespaces.zope.org/grok"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    i18n_domain="example.conference">

    <!-- Include configuration for dependencies listed in setup.py -->
    <includeDependencies package="." />

    <include file="permissions.zcml" />

    <!-- Grok the package to initialise schema interfaces and content classes -->
    <grok:grok package="." />

    <!-- Register an extension profile to make the product installable -->
    <genericsetup:registerProfile
        name="default"
        title="Conference management"
        description="A Dexterity demo"
        directory="profiles/default"
        provides="Products.GenericSetup.interfaces.EXTENSION"
        />

    <!-- Special forms and views for Attendee, to be able to set
widgets in the datagridfield. We could maybe register them
just for Attendees, but that would not help for the add-form,
although I don't think that is handled here yet.
See the aliases in types/example.conference.attendee.xml. -->
    <browser:page
        for="plone.dexterity.interfaces.IDexterityContent"
        name="attendee_edit"
        class=".attendee.DataGridEditView"
        permission="cmf.ModifyPortalContent"
        />

    <browser:page
        for="plone.dexterity.interfaces.IDexterityContent"
        name="attendee_view"
        class=".attendee.DataGridView"
        permission="zope2.View"
        />

</configure>
Something went wrong with that request. Please try again.