details
.append(EsimsUtils
.createWarnMessage(this.getContext()
.getContextPath(),
"No details were found for the given Form #, please recheck"));
return new StreamingResolution("text/html", new StringReader(
details.toString()));
} else {
StudentDetails studentDetails = EsimsUtils
.createStudentDetailsFromApplicationForm(applicationForms
.get(0));
details
.append("Please cross-verify the following details before admitting,<br><strong>");
details.append(studentDetails.getFirstName().toUpperCase());
details.append(EsimsConstants._SPACE);
details.append(studentDetails.getLastName().toUpperCase());
details.append("<br>");
details.append("Born on ");
details.append(studentDetails.getDateOfBirth());
details.append("<br>");
details.append("Son/Daughter of ");
details.append(studentDetails.getFatherFirstName().toUpperCase());
details.append(EsimsConstants._SPACE);
details.append(studentDetails.getFatherLastName().toUpperCase());
details.append("</strong>");
return new StreamingResolution("text/html", new StringReader(
EsimsUtils.createImportantMessage(this.getContext()
.getContextPath(), details.toString())));
}