doesn't it seem odd that ActionMessage doesn't already have the ability to use other keys as replacement values... i can't think of any reason for this other than it was simply forgotten
Well, it's more complicated than that - is it safe to assume that the replacement-keys are in the same bundle as the original message? It may seem obvious, but given the number of Struts users, we tend to be reluctant to build assumptions like that into the code.
Also, in a constructor that takes objects, there's no way to distinguish whether the object is intended as a literal value or as a key to be looked up. You'd have to come up with some alternate syntax.
Finally, I don't think it's all that common of a scenario. I've been writing Struts apps for three years, and haven't needed anything like what you describe. Struts grows and extends when people have "itches" that need "scratching."
If you feel like scratching this itch, feel free to post an enhancement request in bugzilla. Better yet, attach patches to it that implement a solution!
Joe
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]