if (name.getEnName().compareTo("") == 0 || name.getPtName().compareTo("") == 0) {
addErrorMessage(request, "error", "confirm.error.edit.name.specializationArea");
} else {
// update whether the names have been changed
name.update();
}
request.setAttribute("officialPub", name.getSpecializationArea().getOfficialPublication());
return preparePubs(mapping, form, request, response);
}