else if ("false".equals(input))
this.currentWidget.setValue(Boolean.FALSE);
else
throw new SAXException("Unkown boolean: " + input);
} else if (this.currentWidget instanceof MultiValueField && isMultiValueItem) {
MultiValueField field = (MultiValueField)this.currentWidget;
Datatype type = field.getDatatype();
ConversionResult conv =
type.convertFromString(input, this.locale);
if (conv.isSuccessful()) {
Object[] values = (Object[])field.getValue();
int valLen = values == null ? 0 : values.length;
Object[] newValues = new Object[valLen + 1];
for (int i = 0; i < valLen; i++)
newValues[i] = values[i];
newValues[valLen] = conv.getResult();
field.setValues(newValues);
} else
throw new SAXException("Could not convert: " + input +
" to " + type.getTypeClass());
} else
throw new SAXException("Unknown widget type: " + this.currentWidget);