def test(self): """ test method """ dummy = _(u'a dummy string') return {'dummy': dummy}
RenoPrimeSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema(( # -*- Your Archetypes field definitions here ... -*- atapi.TextField( 'text_above_map', required=False, searchable=True, primary=True, storage=atapi.AnnotationStorage(migrate=True), validators=('isTidyHtmlWithCleanup', ), #validators=('isTidyHtml',), default_output_type='text/x-html-safe', widget=atapi.RichWidget( description='', label=_(u'label_before_map', default=u'Text before map'), rows=25, allow_file_upload=zconf.ATDocument.allow_document_upload), ), atapi.TextField( 'text_below_map', required=False, searchable=True, storage=atapi.AnnotationStorage(migrate=True), validators=('isTidyHtmlWithCleanup', ), #validators=('isTidyHtml',), default_output_type='text/x-html-safe', widget=atapi.RichWidget( description='', label=_(u'label_below_map', default=u'Text below map'),
RenoPrimeSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema(( # -*- Your Archetypes field definitions here ... -*- atapi.TextField('text_above_map', required=False, searchable=True, primary=True, storage=atapi.AnnotationStorage(migrate=True), validators=('isTidyHtmlWithCleanup',), #validators=('isTidyHtml',), default_output_type='text/x-html-safe', widget=atapi.RichWidget( description='', label=_(u'label_before_map', default=u'Text before map'), rows=25, allow_file_upload=zconf.ATDocument.allow_document_upload), ), atapi.TextField('text_below_map', required=False, searchable=True, storage=atapi.AnnotationStorage(migrate=True), validators=('isTidyHtmlWithCleanup',), #validators=('isTidyHtml',), default_output_type='text/x-html-safe', widget=atapi.RichWidget( description='', label=_(u'label_below_map', default=u'Text below map'), rows=25,