You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Andrei Hryshanovich (JIRA)" <ji...@apache.org> on 2008/12/09 10:46:36 UTC
[jira] Updated: (WW-2912) Client-side validation displays property
key instead of value.
[ https://issues.apache.org/struts/browse/WW-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrei Hryshanovich updated WW-2912:
------------------------------------
Attachment: clientside.PNG
Message for js validation
> 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
> Attachments: clientside.PNG, 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.