Well, you are free to write your own email validator and replace the existing one in
FieldValidatorSource with it.
Cheers,
Uli
Otho schrieb:
Thanks, I misread the regexp. then. But for all "real" email adresses which
are not on the local host or network, the hostname should have at least one
dot in it, regardless if it's an ip or a host with tld.
2009/1/5 Ulrich Stärk <u...@spielviel.de>
Otho schrieb:
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.
To my knowledge, 1 is a perfectly legal (although odd) host name and thus
qualifies for the domain part of an email address. This is taken into
account by the domain part being an atom (which includes the digit 1) or a
sequence of atoms seperated by dots. 1 for the local part is also legal.
Uli
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org