diff src/tools/xml_tools.py @ 1070:ad023e60da8c

core (XMLUI): management of text-multi in _dataFormField2XMLUIData
author Goffi <goffi@goffi.org>
date Sat, 14 Jun 2014 17:25:08 +0200
parents 8e1f30aa3975
children bb4517e69957
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Sat Jun 14 17:24:16 2014 +0200
+++ b/src/tools/xml_tools.py	Sat Jun 14 17:25:08 2014 +0200
@@ -55,6 +55,9 @@
             widget_args[0] = field.value
     elif field.fieldType == 'text-single':
         widget_type = "string"
+    elif field.fieldType == 'text-multi':
+        widget_type = "text"
+        widget_args[0] = u'\n'.join(field.values)
     elif field.fieldType == 'text-private':
         widget_type = "password"
     elif field.fieldType == 'boolean':