+1 on this. I think there's something like this working for messages coming from the validation framework, but I'd definitely like to see it work with normal error messages. Should be pretty simple, using java.text stuff (though I don't know how it impacts performance).
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Samuel Mota Sent: Thursday, October 02, 2003 11:15 AM To: [EMAIL PROTECTED] Subject: [OS-webwork] Localized text messages - with parameters? Is there some way to get the localized text messages receiving parameters to replace? Shoud be nice to have a message like this: myMsg=Your (?) last login was on ? And them call: List params = new ArrayList(2); params.add(username); params.add(logindate); addActionError("myMsg",params) + Samuel G. Mota + [EMAIL PROTECTED] + 55 (11) 4417 7093 + Business Application Dpt. + Netset Serviços em Tecnologia + a Hypercom Company + http://www.hypercom.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork