Removed code that has been commented out.

This commit is contained in:
Tom Vahlman 2012-03-02 11:13:35 +01:00
parent 0ef12f67bb
commit 9b4b10fe1e
2 changed files with 0 additions and 9 deletions
src/main/java/se/su/dsv/scipro/supervisor/panels

@ -86,10 +86,5 @@ public abstract class SupervisorAcceptDeclinePanel2 extends Panel {
}
});
}
// @Override
// protected void onSubmit() {
// matchDao.changeStatus(SciProSession.get().getUser(), matchModel.getObject(), Status.CONFIRMED);
// }
}
}

@ -145,15 +145,11 @@ public class SupervisorMatchedThesisPanel extends Panel {
protected void populateItem(final ListItem<Match.Status> item) {
Radio<Match.Status> radio = new Radio<Match.Status>("statusRadio", item.getModel());
item.add(radio);
// Label levelName = new Label("statusName", item.getModelObject().toString());
if (item.getModelObject().equals(Match.Status.PUBLISHED)){
item.add(new Label("statusName", "Suggested"));
} else {
item.add(new Label("statusName", "Accepted"));
}
// item.add(levelName);
}
};
radioGroup.add(new AjaxFormChoiceComponentUpdatingBehavior() {