From: encolpe <svn...@pl...> - 2006-06-26 14:41:15
|
Author: encolpe Date: Mon Jun 26 14:41:09 2006 New Revision: 6648 Modified: MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/ArrayField.py MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/config.py Log: modify field naming policy using filesystems authorized characters (may have zope3/Five effects Modified: MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/ArrayField.py ============================================================================== --- MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/ArrayField.py (original) +++ MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/ArrayField.py Mon Jun 26 14:41:09 2006 @@ -173,7 +173,7 @@ for i in range(size): f1=self.field.copy() - f1.__name__='%s:%03d' % (fn,i) + f1.__name__='%s%s%03d' % (fn, config.ARRAY_FIELD_SEPERATOR, i) schema.addField(f1) self.setSchema(schema=schema) Modified: MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/config.py ============================================================================== --- MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/config.py (original) +++ MoreFieldsAndWidgets/CompoundField/branches/1.0_encolpe_filesystemstorage_compatibility/CompoundField/config.py Mon Jun 26 14:41:09 2006 @@ -63,7 +63,8 @@ JAVASCRIPTS = [] ##code-section config-bottom #fill in your manual code here -COMPOUND_FIELD_SEPERATOR='|' +COMPOUND_FIELD_SEPERATOR='@@' +ARRAY_FIELD_SEPERATOR='$' ##/code-section config-bottom |