The messages and errors are very closely related. The messages tag and corresponding queue were really only invented to maintain backward compatibility. We didn't want to change the behavior of the errors tag, so we created another. It also gives people a way to send two streams of application-generated messages to a page, one for errors and one for confirmations.
You might want to think of them as queues or batches. It is also important to note that the ActionMessage has been in the nightly build for some time, and many people *are* actually using the night build in production. Also, the errors and messages queues have options that associate a particular message with a particular property, and people often use this feature to display the error next to the property, rather than in a lump. -Ted. Gabriel Sidler wrote: > 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
