protected AbstractSelect createCompatibleSelect(
Class<? extends AbstractSelect> fieldType) {
AbstractSelect select;
if (fieldType.isAssignableFrom(ListSelect.class)) {
select = new ListSelect();
select.setMultiSelect(false);
} else if (fieldType.isAssignableFrom(NativeSelect.class)) {
select = new NativeSelect();
} else if (fieldType.isAssignableFrom(OptionGroup.class)) {
select = new OptionGroup();