This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Consider Paul's rocket mass heater.
 
subject: short-circuit attribute not working in validation file
 
Similar Threads
Adding more than one validation to form field
error in validation
Struts2 Field Validator in XML - regex issue
Struts 2 Validation
Understanding public void prepare() +tiles