I assume that the attachments are in a separate entity that is connected to the Loan entity via an association.
You could create an edit page with the loan as the outer dataview and nest 3 dataviews for the attachments inside this outer dataview and make sure the correct records are retrieved. Then in each of the inner datavioews add the document viewerd widget to display the documents uploaded.