// List<String> values = new ArrayList<String>(resources.size() + 1);
// int selectedIndex = 0;
for (int i = 0; i < resources.size(); i++) {
// loop all found resources defining the options
CmsResource res = resources.get(i);
String path = getCms().getSitePath(res);
// determine description to show for option
String description = "";
try {
description = getCms().readPropertyObject(path, CmsPropertyDefinition.PROPERTY_DESCRIPTION, false).getValue(