minor
enhancement
In typed forms, you can implement an upload field using a property:
#!java
@InstanceFormat
@ItemDisplay(ItemDisplayType.VALUE)
@PropertyEditor(BinaryDataEditor.class)
@AcceptedTypes(value = { "text/xml", "application.xml", ".xml" })
@RenderWholeLine
BinaryData getData();
Improvement
An upload field with multiple selection should be configurable using a list-valued property:
#!java
@InstanceFormat
@ItemDisplay(ItemDisplayType.VALUE)
@PropertyEditor(BinaryDataEditor.class)
@AcceptedTypes(value = { "text/xml", "application.xml", ".xml" })
@RenderWholeLine
List<BinaryData> getData();
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/TestDeclarativeForms.script.xml