Annotation Type Email
Requires the component value to be a syntactically valid e-mail address.
The processor emits RegexConstraint.validEmail(message) into the
Validator returned by Binding#getValidator().
@Bind(name="emailField") @Required @Email
private String email;
Stacks well with @Required -- the standard email regex accepts the
empty string as "not yet an address," so combine with @Required when
the field is mandatory.
-
Optional Element Summary
Optional Elements
-
Element Details
-
message
-