OVal plugin should add message variables
----------------------------------------

                 Key: WW-3432
                 URL: https://issues.apache.org/jira/browse/WW-3432
             Project: Struts 2
          Issue Type: Improvement
    Affects Versions: 2.1.8.1
         Environment: struts-oval-plugin 2.1.8.1 
            Reporter: Nicolas Bohorquez Gutierrez


In the method protected void addValidationErrors(ConstraintViolation[] 
violations, Object action, ValueStack valueStack, String parentFieldname) of 
org.apache.struts2.oval.interceptor.OValValidationInterceptor the 
violation.getMessageVariables() should be pushed into the valueStack in order 
to get access in the resource bundle to important validation context variables 
like min length, max lenght, substring, expression, etc.

thank you



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to