LOGGER.warn("Could not retreive all categories for adding new Category");
allCategories = new HashSet<IDoapCategory>();
}
List<IDoapCategory> allCategoriesListed = new ArrayList<IDoapCategory>(
allCategories);
Collections.sort(allCategoriesListed, new DoapResourceByNameComparator());
categoryField = new DropDownChoice<IDoapCategory>("listedCategories",
new PropertyModel<IDoapCategory>(inputModel, "comboChoice"),
allCategoriesListed, new ChoiceRenderer<IDoapCategory>("name", "label")) {