String hidden = "";
if (serviceConfig.isHidden()) {
hidden = "<Hidden, Debug mode>";
}
if (serviceConfig.isActive()) {
availableServices.add(new SortableSelectItem(serviceName, serviceName+ " (" + EjbcaJSFHelper.getBean().getText().get("ACTIVE") + ")" + hidden));
} else {
availableServices.add(new SortableSelectItem(serviceName, serviceName + " (" + EjbcaJSFHelper.getBean().getText().get("INACTIVE") + ")" + hidden));
}
}
Collections.sort(availableServices);
return availableServices;
}