Removed code that has been commented out.
This commit is contained in:
parent
0ef12f67bb
commit
9b4b10fe1e
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) {
|
protected void populateItem(final ListItem<Match.Status> item) {
|
||||||
Radio<Match.Status> radio = new Radio<Match.Status>("statusRadio", item.getModel());
|
Radio<Match.Status> radio = new Radio<Match.Status>("statusRadio", item.getModel());
|
||||||
item.add(radio);
|
item.add(radio);
|
||||||
// Label levelName = new Label("statusName", item.getModelObject().toString());
|
|
||||||
|
|
||||||
if (item.getModelObject().equals(Match.Status.PUBLISHED)){
|
if (item.getModelObject().equals(Match.Status.PUBLISHED)){
|
||||||
item.add(new Label("statusName", "Suggested"));
|
item.add(new Label("statusName", "Suggested"));
|
||||||
} else {
|
} else {
|
||||||
item.add(new Label("statusName", "Accepted"));
|
item.add(new Label("statusName", "Accepted"));
|
||||||
}
|
}
|
||||||
|
|
||||||
// item.add(levelName);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
radioGroup.add(new AjaxFormChoiceComponentUpdatingBehavior() {
|
radioGroup.add(new AjaxFormChoiceComponentUpdatingBehavior() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user