Hello,
I have a combo box with a map of values (every entry in map consists of id, label).
Can I tell SelectItem to sort the map?
(The SelectItem isn't related to data source)
thanks
I have a combo box with a map of values (every entry in map consists of id, label).
Can I tell SelectItem to sort the map?
(The SelectItem isn't related to data source)
Code:
SelectItem formItem = new SelectItem(); LinkedHashMap<String,String> values = data.getValues(); formItem.setValueMap(values);
thanks
Comment