}
public ActionForward updateArea(ActionMapping mapping, ActionForm form, HttpServletRequest request,
HttpServletResponse response) {
SpecializationName name = getRenderedObject("specializationArea");
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);
}