Skip to content

Commit

Permalink
WW-4139 Reverts client side validation to old behaviour
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502429 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
lukaszlenart committed Jul 12, 2013
1 parent 12e83a4 commit a47fcee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/org/apache/struts2/components/Form.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,8 @@ public List getValidators(String name) {
String formActionValue = findString(action);
ActionMapping mapping = actionMapper.getMappingFromActionName(formActionValue);
String actionName = mapping.getName();
String methodName = mapping.getMethod();

List<Validator> actionValidators = actionValidatorManager.getValidators(actionClass, actionName, methodName);
List<Validator> actionValidators = actionValidatorManager.getValidators(actionClass, actionName);
List<Validator> validators = new ArrayList<Validator>();

findFieldValidators(name, actionClass, actionName, actionValidators, validators, "");
Expand Down

0 comments on commit a47fcee

Please sign in to comment.