Client-side validation displays property key instead of value.
--------------------------------------------------------------

                 Key: WW-2912
                 URL: https://issues.apache.org/struts/browse/WW-2912
             Project: Struts 2
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.0.14, 2.0.11.2
            Reporter: Andrei Hryshanovich


if validation xml uses message key:

<field name="password">
        <field-validator type="requiredstring">
            <param name="trim">true</param>
            <message key="password.required"/>
        </field-validator>
    </field>

from property file:

password.required=password is required

and client-side validation is enabled:

<s:form action="doLogin" method="POST" theme="css_xhtml" validate="true">

then property key "password.required" is displayed instead of it value 
"password is required"  when validation fails.

-- 
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