Detail
Verbesserung
In typisierten Formularen kann man über ein Property ein Upload-Feld realisieren:
#!java
@InstanceFormat
@ItemDisplay(ItemDisplayType.VALUE)
@PropertyEditor(BinaryDataEditor.class)
@AcceptedTypes(value = { "text/xml", "application.xml", ".xml" })
@RenderWholeLine
BinaryData getData();
Verbesserung
Ein Upload-Feld mit Mehrfachauswahl soll über ein listenwertiges Property spezifizierbar sein:
#!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