Mercurial > libervia-backend
diff src/tools/xml_tools.py @ 1078:bb4517e69957
tools (xmlui): data form 'text-multi' element must be converted to xmlui 'textbox' (not 'text')
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 18 Jun 2014 14:55:35 +0200 |
parents | ad023e60da8c |
children | 03dcb6ca7e49 |
line wrap: on
line diff
--- a/src/tools/xml_tools.py Wed Jun 18 14:52:52 2014 +0200 +++ b/src/tools/xml_tools.py Wed Jun 18 14:55:35 2014 +0200 @@ -56,7 +56,7 @@ elif field.fieldType == 'text-single': widget_type = "string" elif field.fieldType == 'text-multi': - widget_type = "text" + widget_type = "textbox" widget_args[0] = u'\n'.join(field.values) elif field.fieldType == 'text-private': widget_type = "password"