Various improvements in widgets rendering.

This commit is contained in:
Gaetan Delannay 2009-11-13 18:21:03 +01:00
parent 546caa485d
commit 7cdc3c1ed6
4 changed files with 83 additions and 27 deletions

View file

@ -18,9 +18,9 @@ class ModelClass:
parts of the application model.'''
_appy_attributes = [] # We need to keep track of attributes order.
_appy_notinit = ('id', 'type', 'pythonType', 'slaves', 'selfClass',
'phase', 'pageShow') # When creating a new instance of a
# ModelClass, those attributes must not be given in the
# constructor.
'phase', 'pageShow', 'isSelect') # When creating a new
# instance of a ModelClass, those attributes must not be
# given in the constructor.
def _appy_addField(klass, fieldName, fieldType, classDescr):
exec "klass.%s = fieldType" % fieldName