Yes! Yes! Really handy it will be :-) +1 here!

I've added this functionality in my derived class from ActionSupport and made it the base for all my action classes.

Also will be great if "CANCEL" result type can be added as first class type (to Action) as it's used in many forms.

All The Best,
Armond

Drew McAuliffe wrote:

+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








------------------------------------------------------- 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

Reply via email to