Search in sources :

Example 1 with TextualFormFieldImpl

use of org.asqatasun.webapp.form.TextualFormFieldImpl in project Asqatasun by Asqatasun.

the class TextualFormFieldBuilderImpl method build.

@Override
public TextualFormField build() {
    TextualFormField formField = new TextualFormFieldImpl();
    formField.setErrorI18nKey(getErrorI18nKey());
    formField.setI18nKey(getI18nKey());
    formField.setValue(getValue());
    if (StringUtils.isNotBlank(validationRegexp)) {
        formField.setValidationRegexp(validationRegexp);
    }
    return formField;
}
Also used : TextualFormField(org.asqatasun.webapp.form.TextualFormField) TextualFormFieldImpl(org.asqatasun.webapp.form.TextualFormFieldImpl)

Aggregations

TextualFormField (org.asqatasun.webapp.form.TextualFormField)1 TextualFormFieldImpl (org.asqatasun.webapp.form.TextualFormFieldImpl)1