Created
June 10, 2013 15:00
-
-
Save EmmanuelDemey/5749404 to your computer and use it in GitHub Desktop.
If you want to add a client-side part of a JSR303 validation with Tapestry5-jQuery, everything is the same as this documentation page : http://tapestry.apache.org/bean-validation.html, except the syntax :
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.extend(Tapestry.Validator,{ | |
notnull : function(field, message) { | |
Tapestry.Validator.required(field, message); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment