File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes short-circuit attribute not working in validation file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "short-circuit attribute not working in validation file" Watch "short-circuit attribute not working in validation file" New topic
Author

short-circuit attribute not working in validation file

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I have following xml validation file. But in this file, short-circuit attribute is not working as it is supposed to be. Even though I fail to enter the name in form field, rest other validators are still getting evaluated which should not evaluate if name validator fails and is short-circuited.
What is the problem in below validation xml file?



I am slow but sure
 
 
subject: short-circuit attribute not working in validation file
 
Similar Threads
Adding more than one validation to form field
Struts 2 Validation
Struts2 Field Validator in XML - regex issue
Understanding public void prepare() +tiles
error in validation