Get your CodeRanch badge!*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Short circuit example
&& and || operator precedence
Operator Precedence
Validators per method
how to stop a link (href)?