Back to index

plone3  3.1.7
Variables
ATContentTypes.criteria.schemata Namespace Reference

Variables

string __author__ = ''
 ATContentTypes http://plone.org/products/atcontenttypes/ Archetypes reimplementation of the CMF core types.
string __docformat__ = 'restructuredtext'
tuple ATBaseCriterionSchema
 AT Base Criterion.

Variable Documentation

ATContentTypes http://plone.org/products/atcontenttypes/ Archetypes reimplementation of the CMF core types.

Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved. Copyright (c) 2003-2006 AT Content Types development team

This software is subject to the provisions of the Zope Public License, Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE

Definition at line 20 of file schemata.py.

Definition at line 21 of file schemata.py.

Initial value:
00001 Schema((
00002     StringField('id',
00003                 required=1,
00004                 mode="r",
00005                 default=None,
00006                 write_permission=ChangeTopics,
00007                 widget=IdWidget(
00008                     label=_(u'label_short_name', default=u'Short Name'),
00009                     description=_(u'help_shortname',
00010                                   default=u"Should not contain spaces, underscores or mixed case. "
00011                                            "Short Name is part of the item's web address."),
00012                     visible={'view' : 'invisible'}
00013                     ),
00014                 ),
00015     StringField('field',
00016                 required=1,
00017                 mode="r",
00018                 accessor="Field",
00019                 write_permission=ChangeTopics,
00020                 default=None,
00021                 widget=StringWidget(
00022                     label=_(u'label_criteria_field_name', default=u'Field name'),
00023                     description=_(u'help_criteria_field_name',
00024                                   default=u"Should not contain spaces, underscores or mixed case. "
00025                                            "Short Name is part of the item's web address.")
00026                     ),
00027                 ),
00028     ))

AT Base Criterion.

Definition at line 35 of file schemata.py.