Hi all,

I'm trying to create the following feature with Tapestry 4.1.5: I want to
check an input text field on the fly, while a user is typing. I'm using an
ajax call (with the @EnventHandler annotation) to check the input string in
the background without reloading the page. The event handler method checks
if the string already exists in the database and sets an error message if it
does.

So far, everything is working fine. Now the problem is that the string
should also be a valid e-mail address. For the final form submit, client
side validation is working, but (as the tapestry web site states) "as an
added bonus, form validation is turned off by default with the
EventListener<http://tapestry.apache.org/tapestry4.1/tapestry-annotations/index.html#EventListener>annotation".
Now my question is, whether there is any way to access the
EmailValidator manually from within the event handler method.

I appreciate your help!
Nils

Reply via email to