archetypes.configure 0.2
Declarative content type configuration for Archetypes.
Introduction
This package adds a declarative interface for the registration of Archetypes content classes.
Usage
Use an at:register directive to register each of your content classes.
Example configuration:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:at="http://namespaces.plone.org/archetypes">
<five:registerPackage package="." />
<permission id="example.Add" title="collective.example: Add example" />
<at:register
class=".content.Example"
permission="example.Add"
/>
</configure>
You do not need to (and should not) call atapi.registerType on your content classes. This is done automatically by the framework.
Credits
Malthe Borch <mborch@gmail.com>
Changes
0.2 - 2011-09-14
- Compatibility with Zope 2.13.
0.1 - 2010-12-01
- Initial release
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| archetypes.configure-0.2.tar.gz (md5) | Source | 2011-09-14 | 8KB | 265 | |
- Author: Plone Foundation
- License: GPL
- Categories
- Package Index Owner: malthe
- DOAP record: archetypes.configure-0.2.xml
