// Start the selection-list
contentHandler.startElement(FormsConstants.INSTANCE_NS, SELECTION_LIST_EL, FormsConstants.INSTANCE_PREFIX_COLON + SELECTION_LIST_EL, XMLUtils.EMPTY_ATTRIBUTES);
NativeArray array = (NativeArray)result;
for (int i = 0; i < array.jsGet_length(); i++) {
Scriptable item = (Scriptable)array.get(i, array);
Object value = item.get("value", item);
String stringValue = value == null ? "" : this.type.convertToString(value, locale);
Object label = item.get("label", item);