if (getSessionBean1().getPerson() != null &&
getSessionBean1().getPerson().getIdContact() == volunteer.getIdContact() ) {
ctrlPerson.delete(getSessionBean1().getPerson());
}
// Persit the new object
ctrlVolunteer.update(volunteer);
//Set the person property for info display
getSessionBean1().setPerson(volunteer);
return "success";
}