FacesContext.getCurrentInstance().addMessage(null, error);
return null;
}
Collections.sort(selection); // why?
for (int i = selection.size() - 1; i >= 0; i--) {
Address address = currentAddressList.get(selection.get(i));
addressDao.removeAddress(address);
}
selectedAddresses.resetSelected();
currentAddressList = addressDao.findAddresses(searchCriterion);
return OUTCOME_LIST;