wood burning stoves 2.0*
The moose likes Struts and the fly likes struts 2 AJAX validation not clearing the errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2 AJAX validation not clearing the errors" Watch "struts 2 AJAX validation not clearing the errors" New topic
Author

struts 2 AJAX validation not clearing the errors

Sam Chang
Greenhorn

Joined: Mar 22, 2007
Posts: 5
I'm using struts 2 client side AJAX validation. I have it all setup like on http://struts.apache.org/2.0.6/docs/ajax-validation.html and it does validate properly, however it does not clear the existing error messages and simply adds the new error messages onblur, causing duplicate error messages to be displayed.

Have I mis-configured something? Has anybody else had this problem before?

cheers,
sam
 
 
subject: struts 2 AJAX validation not clearing the errors
 
Similar Threads
validate form fields using javascript in struts
How do i know what are the elements ,subments ,attributes in a xml file ?
struts2: setting string value to int field of a bean does not throw any exception
Writing an INTERCEPTOR and Configuring it
Struts 2 - Global Validation