|| getField().getType().equals(int.class) || getField().getType().equals(long.class)) {
widget = new NumberWidget(this);
}
if (Boolean.class.isAssignableFrom(getField().getType()) || getField().getType().equals(boolean.class)) {
widget = new CheckboxWidget(this);
}
if (Date.class.isAssignableFrom(getField().getType())) {
widget = new DateWidget(this);
}