aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 2 AJAX validation not clearing the errors
 
Similar Threads
How do i know what are the elements ,subments ,attributes in a xml file ?
Struts 2 - Global Validation
struts2: setting string value to int field of a bean does not throw any exception
Writing an INTERCEPTOR and Configuring it
validate form fields using javascript in struts