Add FileBlock to the model
Basic support for file blocks in the diagram
display file fields in the form (validation fails)
Remove special handling of main/supplemental files -- the form submits, but everything goes in as one big list
Remove enteredValue from FileBlock and update diagram
Add hidden inputs to record the form element index of file inputs
Match up MultipartFile instances with FileBlock instances, validate certain FileBlocks being required or not, set labels on files if present
Associate SubmittedFile instances with FileBlock instances (rather than just a label) and use this to determine labels and the "main file" and defaultWebObject structural link
Ensure tooling works
Display FileBlock tooling properly
Add "usage" attribute
Handle the case when the form has no file blocks by adding a "file for deposit" file input. Require that it have a file selected.
Wrap form and formId in Deposit object
Add receipt email address to deposit model
Get deposit model working with files and the handler submitting properly. The Deposit now maintains an array of DepositFile instances (basically renamed from SubmittedFile) and mapping between FileBlocks and indexes into a fixed-size array of DepositFiles.
Use buttons for removing uploaded files
Progressive enhancement for "Remove file" buttons -- instead of resubmitting the form, add a hidden form input to clear the file and display the file input again
New deposit on GET requests
Copy filesize to DepositFile
ensure required star for main file appears in the right place