In this app you can add a risk and select several checkboxes, a radio button option and a drop down menu option per each risk being added. Later you can click at Edit to see initial selections restored (depending on which risk is selected).
Checkboxes and radio-buttons are generated dynamically.
HTML-Thymeleaf code also:
chooses different color for list items with sequential even number; shows optional way of displaying checkboxes in table form. Developed based on guidance provided in: http://forum.thymeleaf.org/The-checked-attribute-of-the-checkbox-is-not-set-in-th-each-td3043675.html
open