/** * Deletes a Certificate and saves the association. * * @return the struts forward */ @Action("deleteCertificate") public String deleteCertificateAction() { getLab().removeCertificate(certificate.getType()); associationService.save(laboratory); certificate = null; return INPUT; }