major
nice-to-have
minor
To ensure that multiple error or informational messages are not displayed to the user as separate messages, but are instead consolidated into a single, compact message, the InfoService should provide functions to display the messages in a list.
Improvement
The InfoService now has additional functions for displaying messages: {{{#!java
showErrorList(List<ResKey> messages){}
showInfoList(List<ResKey> messages){}
showWarningList(List<ResKey> messages){}
}}}
To insert additional text above the list, the following functions can be used: {{{#!java
showErrorList(ResKey description, List<ResKey> messages){}
showInfoList(ResKey description, List<ResKey> messages){}
showWarningList(ResKey description, List<ResKey> messages){}
}}}
To create an HTMLFragment with ResKeysin a list, Fragments now has the messageList(List<ResKey> messages) method. It returns an empty fragment if messages is null or empty.
Test
Some of these functions are already used in DnDFileUtilities. To test the display, you can trigger error messages during a drag-and-drop upload to a WebFolder or a GalleryControl by exceeding the upload limit, uploading duplicate files, or uploading invalid files.