struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volker Krebs (JIRA)" <>
Subject [jira] Created: (WW-2294) Parameterizing i18n messages
Date Mon, 05 Nov 2007 08:30:35 GMT
Parameterizing i18n messages

                 Key: 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=""/>
    <message key="errors.required"/>

The message properties would be as follows:
errors.required={0} is required 

See also:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message