RichTextArea textArea = (RichTextArea) field;
textArea.setNullRepresentation("");
}
if (cls.equals(Integer.class)) {
field.addValidator(new IntegerValidator(getLocalizedMessage("is.not.an.integer")));
field.setWidth("100px");
} else {
field.setWidth("100%");
}
if (reflectField.getAnnotation(RequiredAttribute.class) != null) {