Back to index

plone3  3.1.7
Classes | Variables
Archetypes.examples.SimpleType Namespace Reference

Classes

class  SimpleType
class  SimpleProtectedType

Variables

tuple schema
string TestView = 'Archetypes Tests: Protected Type View'
string TestWrite = 'Archetypes Tests: Protected Type Write'

Variable Documentation

Initial value:
00001 BaseSchema+Schema((
00002     TextField('body',
00003               required=1,
00004               searchable=1,
00005               default_output_type='text/html',
00006               allowable_content_types=('text/plain',
00007                                        'text/restructured',
00008                                        'text/html',
00009                                        'application/msword'),
00010               widget  = RichWidget(description="""Enter or upload text for the Body of the document"""),
00011               ),
00012     StringField('ptype',
00013               default_method='Type'
00014               ),
00015     ))

Definition at line 6 of file SimpleType.py.

string Archetypes.examples.SimpleType.TestView = 'Archetypes Tests: Protected Type View'

Definition at line 29 of file SimpleType.py.

string Archetypes.examples.SimpleType.TestWrite = 'Archetypes Tests: Protected Type Write'

Definition at line 32 of file SimpleType.py.