some autocompletefixes

This commit is contained in:
Fredrik Friis 2012-04-01 12:20:42 +09:00
parent e54f659849
commit e6c25f1abd
2 changed files with 4 additions and 2 deletions
src/main/java/se/su/dsv/scipro/reusable

@ -71,7 +71,8 @@ public abstract class AuthorAutoComplete extends AbstractRoleAutoCompleteCompone
return authorDao.getAutoCompleteAuthors(input, 6).iterator();
}
protected void beforeOnNewSelectionChecker(AjaxRequestTarget pTarget, Student newSelection) {
@Override
protected void onNewSelection(AjaxRequestTarget pTarget, Student newSelection) {
super.onNewSelection(pTarget, newSelection);
if (newSelection != null) {
if (pTarget != null) {

@ -69,7 +69,8 @@ public abstract class EmployeeAutoComplete extends AbstractRoleAutoCompleteCompo
return supervisorDao.getAutoCompleteCapableSupervisors(input, 6).iterator();
}
protected void beforeOnNewSelectionChecker(AjaxRequestTarget pTarget, Employee newSelection) {
@Override
protected void onNewSelection(AjaxRequestTarget pTarget, Employee newSelection) {
super.onNewSelection(pTarget, newSelection);
if (newSelection != null) {
if (pTarget != null) {