.getModelObjectAsString();
Long applicantOidLong = Transformer.longInteger(applicantOidString);
if (applicantOidLong != null) {
Applicant applicant = applicants.getApplicant(applicantOidLong
.longValue());
PageParameters pageParameters = new PageParameters();
if (applicant != null) {
pageParameters.put("oid", applicant.getOid()
.getUniqueNumber());
WebPage confirmationPage;
try {
confirmationPage = new ApplicantConfirmPage(
pageParameters);
setResponsePage(confirmationPage);
} catch (StringValueConversionException e) {
setResponsePage(app.getHomePage());
}
} else {
pageParameters.put("oid", new Long(0));
}
}
}