Commits

rainerh  committed 01afe71

Validation Errors with DWR (AJAX Tutorial)
o fixed method name --> Validation works with Firefox 1.5, but still no submit
Issue number: WW-1043

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@1937573baa09-0c28-0410-bef9-dab3c582ae83

  • Participants
  • Parent commits 28279ad

Comments (0)

Files changed (1)

File src/java/template/ajax/validation.js

 var webworkValidator = new ValidationClient("$!base/validation");
 webworkValidator.onErrors = function(input, errors) {
 
-	var table = input.parentNode.parentNode.parentNode;
 	var form = input.form;
 
-	clearErrorRows(table);
+	clearErrorMessages(form);
 	clearErrorLabels(form);
 
     if (errors.fieldErrors) {