Changeset 676
- Timestamp:
- 03/08/07 01:50:58 (2 years ago)
- Files:
-
- PleiadesEntity/trunk/Extensions/Install.py (modified) (1 diff)
- PleiadesEntity/trunk/content/Name.py (modified) (2 diffs)
- PleiadesEntity/trunk/content/PlacefulAssociation.py (modified) (1 diff)
- PleiadesEntity/trunk/data/AWMCPlaceTypes.vdex (added)
- PleiadesEntity/trunk/models/PleiadesEntity.zargo (modified) (previous)
- PleiadesEntity/trunk/tests/Vocabularies.txt (added)
- PleiadesEntity/trunk/thesauri/types/AWMCPlaceTypes.xml (deleted)
- PleiadesEntity/trunk/version.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
PleiadesEntity/trunk/Extensions/Install.py
r665 r676 76 76 from Products.ATVocabularyManager.config import TOOL_NAME as ATVOCABULARYTOOL 77 77 atvm = getToolByName(self, ATVOCABULARYTOOL) 78 vocabmap = {'AWMCPlaceTypes.xml': ('SimpleVocabulary', 'SimpleVocabularyTerm'), 78 vocabmap = {'AWMCAncientNameLanguages': ('VdexVocabulary', 'VdexTerm'), 79 'AWMCPlaceTypes': ('VdexVocabulary', 'VdexTerm'), 79 80 } 80 81 for vocabname in vocabmap.keys(): PleiadesEntity/trunk/content/Name.py
r647 r676 31 31 from AccessControl import ClassSecurityInfo 32 32 from Products.Archetypes.atapi import * 33 from Products.ATVocabularyManager.namedvocabulary import NamedVocabulary 33 34 from Products.PleiadesEntity.config import * 34 35 … … 69 70 i18n_domain='PleiadesEntity', 70 71 ), 71 enforceVocabulary=1,72 vocabulary=['grc', 'grc-Latn', 'la', 'la-Grek']72 vocabulary=NamedVocabulary("""AWMCAncientNameLanguages"""), 73 enforceVocabulary=1 73 74 ), 74 75 PleiadesEntity/trunk/content/PlacefulAssociation.py
r665 r676 42 42 name='placeType', 43 43 index="KeywordIndex", 44 vocabulary=NamedVocabulary("""AWMCPlaceTypes"""), 45 default="unknown", 46 enforceVocabulary=1, 44 47 widget=SelectionWidget( 45 48 label="Place Type", 46 49 label_msgid='PleiadesEntity_label_placeType', 47 50 i18n_domain='PleiadesEntity', 48 ), 49 vocabulary=NamedVocabulary("""AWMCPlaceTypes.xml"""), 50 default="unknown", 51 enforceVocabulary=1 51 ) 52 52 ), 53 53 PleiadesEntity/trunk/version.txt
r665 r676 1 0.1 build 24 01 0.1 build 244
