int selectedIndexCount = selectedIndexes.length;
for (int index = 0; index < selectedIndexCount; index++) {
String selectedIndexString = selectedIndexes[index];
int selectedIndex = Integer.parseInt(selectedIndexString);
Object object = itemListClassExtension.elementAt(itemList, selectedIndex);
resultListClassExtension.addElement(resultList, object);
}
if (itemList instanceof Object[]) {
resultList = AWUtil.getArray((List)resultList, itemList.getClass().getComponentType());
}
setValueForBinding(resultList, AWBindingNames.selections);