Skip to content

Instantly share code, notes, and snippets.

@EmmanuelDemey
Created June 10, 2013 15:00
Show Gist options
  • Save EmmanuelDemey/5749404 to your computer and use it in GitHub Desktop.
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 :
$.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