Hi,
I implemented custom validator and added it to one of my components
myOptionGroup.addValidator(new AbstractValidator("My error message") {
@Override
public boolean isValid(Object value) {
return "123" != value;
}
});
I have a two problem wih it.
- When I use setImmediate on my components then I get duplicated error messages on form. Other validations are ok.
- When I I call validate() on this field I get InvalidValueException with empty error message; e.getMessage() return null.
What could be wrong?
Vaadin 6.7.4