} else if (propertyClass == Email.class) {
textField = new TextField("propertyValue", new PropertyModel(
entity, propertyCode, propertyClass)) {
static final long serialVersionUID = 200917L;
public IConverter getConverter() {
return new EmailConverter();
}
};
textField.setType(Email.class);
}