permaculture playing cards*
The moose likes Struts and the fly likes default validator and short-circuit attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "default validator and short-circuit attribute" Watch "default validator and short-circuit attribute" New topic
Author

default validator and short-circuit attribute

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I didnt get the meaning of following two statements from http://struts.apache.org/2.x/docs/validation.html

1. The framework will also search up the inheritance tree of the action to find default validations for interfaces and parent classes of the Action.

2. If you are using the short-circuit attribute and relying on default validators higher up in the inheritance tree, make sure you don't accidentally short-circuit things higher in the tree that you really want!

Can you please help me understanding it.


I am slow but sure
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: default validator and short-circuit attribute
 
Similar Threads
how to stop a link (href)?
&& and || operator precedence
Validators per method
Short circuit example
Operator Precedence