struts-issues mailing list archives

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


Mime
View raw message