struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Bohorquez Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] Created: (WW-3432) OVal plugin should add message variables
Date Thu, 08 Apr 2010 17:43:36 GMT
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.


Mime
View raw message