}
return clone;
}
private DefaultFieldFactory getFieldFactory(final Class classOfItem) {
return new GenericValueFieldFactory() {
@Override
public Field createField(Item item, Object propertyId, Component uiContext) {
Property property = item.getItemProperty(propertyId);
Class<?> cls = property.getType();