archetypes.configure 0.2

Declarative content type configuration for Archetypes
archetypes.configure is a Plone extension that 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.

last updated on:
September 14th, 2011, 15:17 GMT
price:
FREE!
homepage:
pypi.python.org
license type:
GPL (GNU General Public License) 
developed by:
Plone Foundation
category:
ROOT \ Internet \ Plone Extensions
archetypes.configure
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in This Release:
  • Compatibility with Zope 2.13.
read full changelog

Add your review!

SUBMIT