// rebuild the uploaded file and assign it to associationsFile variable
if (associationsFile == null) {
String assId = (String) request.getAttribute("hidAssId");
if ((assId != null) && !assId.trim().equals("")) {
IAssociationFileDAO assfiledao = new AssociationFileDAO();
assFile = assfiledao.loadFromID(assId);
byte[] content = assfiledao.getContent(assFile);
UploadedFile uplFile = new UploadedFile();
uplFile.setSizeInBytes(content.length);
uplFile.setFileContent(content);
uplFile.setFileName("association.xml");