It just occured to me that the email validator used with the @Validate
annotation validates an email-address like 1...@1, which shouldn't be possible
when looking at the source of the Validator.

Setup:
Entity field email annotated with @Validate("required,email")
Beaneditform without <parameters>

What's also annoying: The focus is in the first feld with the @Validate
annotation which isn't the first field in the beaneditform and validation
error messages pop up, when going to another field. It would be much better,
to not validate here on focus change but only on submit. The behaviour is a
bit odd as it is. Of course this can be worked around, just a minor
nuisance.

Reply via email to