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
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: short-circuit attribute not working in validation file
 
Similar Threads
Understanding public void prepare() +tiles
Adding more than one validation to form field
error in validation
Struts 2 Validation
Struts2 Field Validator in XML - regex issue