I would like to have another Constraints validation message, but I'm wandering around how to do this .... Example
@Constraints.Required @Constraints.Pattern("\\d{1,6}") public String thisIsAnInt;
I would like something
@Constraints.Required @Constraints.Pattern(message="ThisismyspecificMessage",value=\\d{1,6}") public String thisIsAnInt;
To display it correctly using bootstrap in the form.
Maybe? many thanks
source share