Map options = new LinkedHashMap();
// loop through and convert list to a JSF-Friendly Map for a <select>
for (Iterator it = countries.iterator(); it.hasNext();) {
LabelValue option = (LabelValue) it.next();
if (!options.containsValue(option.getValue())) {
options.put(option.getLabel(), option.getValue());
}
}
return options;