Nathan Bubna wrote: [..] > > Any better ideas are highly welcome. > > did you give any thought to my suggestion of renaming the context key for > MessageTool instead of the one for ActionMessagesTool? my suggestion was to > change '$msg' to '$i18n' or '$text' (or something better if someone thinks > of one) and to let ActionMessagesTool keep '$msgs'. > > whaddaya think?
Yes, I gave it some thought. The MessageTool will easily be the most used context tool in any Struts application. The correspoding JSP tag is <bean:message .../> In contrast, ActionMessages is new. Noboby is using it yet. So I'd rather come up with some creative naming for action messages instead of for the well established message resources. I actually begin to like your proposed $actionmsgs. Message tool ($msg) typically will be used many times a page. Keeping it short is good. $actionmsgs typically is used once per template. Having a slightly longer name is not an issue. The potential for confusion between $msg and $actionmsgs is small. I propose that we go with these names for now. We can always come back and change later. Gabe > > Nathan Bubna > [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Gabriel Sidler Software Engineer, Eivycom GmbH, Zurich, Switzerland -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
