cell.setBody(new HtmlText(""));
HtmlTableCell linkTableCell = htmlTableRow.createCell();
linkTableCell.setClasses(getRenderer().getCurricularCourseToEnrolCheckBoxClasses());
final HtmlActionLink actionLink = new HtmlActionLink();
actionLink.setText(BundleUtil.getString(Bundle.STUDENT, "label.chooseOptionalCurricularCourse"));
actionLink.setController(new OptionalCurricularCourseLinkController(degreeModuleToEvaluate));
actionLink
.setOnClick("$(this).closest('form').find('input[name=\\'method\\']').attr('value', 'prepareChooseOptionalCurricularCourseToEnrol');");
//actionLink.setOnClick("document.forms[2].method.value='prepareChooseOptionalCurricularCourseToEnrol';");
actionLink.setName("optionalCurricularCourseLink" + degreeModuleToEvaluate.getCurriculumGroup().getExternalId()
+ "_" + degreeModuleToEvaluate.getContext().getExternalId());
linkTableCell.setBody(actionLink);
}
if (getRenderer().isEncodeCurricularRules()) {