[
https://issues.apache.org/struts/browse/WW-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42754
]
Martin Gilday commented on WW-2294:
-----------------------------------
Ported WebWork fix to XWork2 trunk. As this is an XWork issue see
http://jira.opensymphony.com/browse/XW-593
> Parameterizing i18n messages
> ----------------------------
>
> Key: WW-2294
> URL: https://issues.apache.org/struts/browse/WW-2294
> Project: Struts 2
> Issue Type: New Feature
> Reporter: Volker Krebs
>
> The struts2 validator should be able to parameterize i18n Messages.
> <field name="webuser.login">
> <field-validator type="requiredstring">
> <param name="0" key="field.name"/>
> <message key="errors.required"/>
> </field-validator>
> </field>
> The message properties would be as follows:
> errors.required={0} is required
> field.name=Login
> See also:
> http://forums.opensymphony.com/thread.jspa?threadID=109693&tstart=0
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.