fixed fields in dataforms don't have multiple <value/> elements. see #3200

This commit is contained in:
Yann Leboulanger 2009-01-28 07:54:22 +00:00
parent 6d9ea872e8
commit 086232adaa
1 changed files with 2 additions and 3 deletions

View File

@ -59,8 +59,7 @@ def Field(typ, **attrs):
''' Helper function to create a field of given type. ''' ''' Helper function to create a field of given type. '''
f = { f = {
'boolean': BooleanField, 'boolean': BooleanField,
# not editable, still can have multiple lines of text 'fixed': StringField,
'fixed': TextMultiField,
'hidden': StringField, 'hidden': StringField,
'text-private': StringField, 'text-private': StringField,
'text-single': StringField, 'text-single': StringField,
@ -80,7 +79,7 @@ def ExtendField(node):
typ=node.getAttr('type') typ=node.getAttr('type')
f = { f = {
'boolean': BooleanField, 'boolean': BooleanField,
'fixed': TextMultiField, 'fixed': StringField,
'hidden': StringField, 'hidden': StringField,
'text-private': StringField, 'text-private': StringField,
'text-single': StringField, 'text-single': StringField,