Changeset 2649 in products for quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs
- Timestamp:
- Jul 9, 2010 10:41:35 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.gdocs.spreadsheet/trunk/quintagroup/gdocs/spreadsheet/content/gspreadsheet.py
r2646 r2649 13 13 14 14 GSpreadsheetSchema = schemata.ATContentTypeSchema.copy() + atapi.Schema(( 15 16 atapi.StringField( 17 name = 'spreadsheet_id', 18 default='', 19 searchable = True, 20 required = True, 21 #languageIndependent=True, 22 storage=atapi.AnnotationStorage(), 23 widget = atapi.StringWidget( 24 label = _( 25 u'label_spreadsheet_id', 26 default=u'Spreadsheet ID'), 27 description=_( 28 u'help_spreadsheet_id', 29 default=u"Input spreadsheet ID."), 30 size = 40, 31 ), 32 ), 33 34 atapi.StringField( 35 name = 'worksheet_id', 36 default='', 37 searchable = True, 38 required = True, 39 #languageIndependent=True, 40 storage=atapi.AnnotationStorage(), 41 widget = atapi.StringWidget( 42 label = _( 43 u'label_worksheet_id', 44 default=u'Worksheet ID'), 45 description=_( 46 u'help_worksheet_id', 47 default=u"Input worksheet ID."), 48 size = 40, 49 ), 50 ), 15 51 16 52 # -*- Your Archetypes field definitions here ... -*- … … 35 71 title = atapi.ATFieldProperty('title') 36 72 description = atapi.ATFieldProperty('description') 73 spreadsheet_id = atapi.ATFieldProperty('spreadsheet_id') 74 worksheet_id = atapi.ATFieldProperty('worksheet_id') 37 75 38 76 # -*- Your ATSchema to Python Property Bridges Here ... -*-
Note: See TracChangeset
for help on using the changeset viewer.