form.add(formComponent1);
form.add(formComponent2);
form.add(new EqualInputValidator(formComponent1, formComponent2));
form.add(new RequiredTextField("rangeLong", Long.class)
.add(new RangeValidator(10L, 20L)));
// Seems not to be supported by Yav yet
// form.add(new RequiredTextField("minInt").add(new MinimumValidator(10)));
// Seems not to be supported by Yav yet