}
public static List<String> getAllCatalogIds(ServletRequest request) {
List<String> catalogIds = FastList.newInstance();
List<GenericValue> catalogs = null;
GenericDelegator delegator = (GenericDelegator) request.getAttribute("delegator");
try {
catalogs = delegator.findList("ProdCatalog", null, null, UtilMisc.toList("catalogName"), null, false);
} catch (GenericEntityException e) {
Debug.logError(e, "Error looking up all catalogs", module);
}
if (catalogs != null) {
for (GenericValue c: catalogs) {