Hi,

as it seems the replacementValues of ActionMessage get not localized by Struts. This is pretty ok for most cases, because normally you pass a paramter like username to a message. But i need to pass a localized replacementValue to ActionMessage.

Whats the best way to do it? I am in the validate() method of my FormBean and need to localize my replacementValue manually and pass it to ActionMessage.

I know the plain Java way of auqiring a resourcebundle, but this would involve hardcoding the allready defined bundle name in the code. This cant be the best way to do it. I am hoping for some helper class in struts for that ;-)

Thanks

--
regards
Marc Logemann
http://www.logemann.org
http://www.logentis.de

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



Reply via email to