for (int i = 0; i < packageIds.length; i++) {
packageIds[i] = Integer.parseInt(selectedPackages[i]);
}
try {
if (!repoManager.deletePackageVersionsFromRepo(subject, repoId, packageIds)) {
FacesContextUtility.addMessage(FacesMessage.SEVERITY_INFO, "Not all packages where deleted because some of them are provided by content sources.");
}
//force reload of the package version list
dataModel = null;