[ https://issues.apache.org/struts/browse/WW-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Holmes updated WW-2912: ----------------------------- Fix Version/s: 2.1.3 > 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.11.2, 2.0.14 > Reporter: Andrei Hryshanovich > Fix For: 2.1.3 > > Attachments: clientside.PNG, jssnippet.txt, serverside.PNG > > > 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.