Nobody knows?

Thanks for your time...

----- Original Message ----- 
From: Gaet
To: Mailing List Struts
Sent: Wednesday, November 30, 2005 12:14 PM
Subject: Parameter of ActionMessage...


Hi the list!

Is it possible to give a key of the ressources.properties in parameter of an
ActionMessage?

Example :
----------

# In Struts Action file
    errors.add(ActionMessages.GLOBAL_MESSAGE, new
ActionMessage("error.field.mandatory","label.name"));

# In ressources.properties  file
    error.field.mandatory = The field '{0}' is mandatory
    label.name = Your Name

I want the following result :  "The field 'Your Name' is mandatory"


Thanks for your help!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to