|
@@ -208,6 +208,13 @@ public class ModelFormHelper { |
|
|
if (!field.containsKey("maxlength")) { |
|
|
if (!field.containsKey("maxlength")) { |
|
|
field.put("maxlength", SwEnum.DataType.instance.getByValue(pdf.dataType).dataLength); |
|
|
field.put("maxlength", SwEnum.DataType.instance.getByValue(pdf.dataType).dataLength); |
|
|
} |
|
|
} |
|
|
|
|
|
if (!isField) { |
|
|
|
|
|
PageDatasetFilter filter = (PageDatasetFilter)pdf; |
|
|
|
|
|
field.put("type", filter.type); |
|
|
|
|
|
field.put("linkDb", filter.linkDb); |
|
|
|
|
|
field.put("linkField", filter.linkField); |
|
|
|
|
|
field.put("value", filter.value); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|