[ https://issues.apache.org/jira/browse/WW-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3432. ------------------------------- Resolution: Fixed Solved, thanks for reporting! > 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 > Assignee: Lukasz Lenart > Labels: oval, s2, struts > Fix For: 2.3.3 > > > 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. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira