new flag for fields: show field content when empty

This commit is contained in:
Helmut Merz 2012-09-13 16:41:33 +02:00
parent 421ec2081a
commit eb802de848
2 changed files with 2 additions and 0 deletions

View file

@ -105,6 +105,7 @@ def createField(field, info=None):
readonly=field.readonly,
#value_type=getattr(field, 'value_type', None),
nostore=getattr(field, 'nostore', False),
showEmpty=getattr(field, 'showEmpty', False),
multiple=getattr(field, 'multiple', False),
display_format=getattr(field, 'displayFormat', None),
baseField=field,)

View file

@ -49,6 +49,7 @@ class Field(Component):
required = False
readonly = False
nostore = False
showEmpty = False
standardFieldName = None
vocabulary = None
renderFactory = None