Hi everybody,
In D2-Config, I have a menu-item that opens a custom Dialogbox (CustomDialog extends AbstractDialog implements ID2Dialog).
In this dialogBox, I have a list control:
<?xml version="1.0" encoding="utf-8"?>
<dialog id="CustomDialog" width="500" height="300" resizable="false">
<content>
<list id="file_list" />
</content>
<buttons>
<button action="validDialog()" type="submit" id="buttonOk"/>
<button action="cancelDialog()" type="reset" id="buttonCancel"/>
</buttons>
</dialog>
I want to display in this list control the list of documents that I have selected. I think we do that in the buildDialog() function, but I don't know how do this. Is that possible ??
If you have any ideas ?
(I can replace the list control with an another if it's not possible with).
Thank you.
Environment: D2 4.5