Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default validator and short-circuit attribute

 
MaheshS Kumbhar
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic