Hi David,

> I'm sorry, I was a little too brief.  I meant a
> message tag like the form errors tag.  So you can
> build a list of messages in your action classes for
> display on a page.  Possibly, the form errors tag
> could be generalized to do this if there was the
> option of specifying your own header and footer it
> should use in the tag.

Yes, I would second that.

> For example, upon successfully deleting a few records.
>      Items deleted:
>         Record John Smith was deleted.
>         Record Joe Smith was deleted.
>         etc.

As with many other classes in struts, the problem here is
that ActionError(s) has a very misleading name.

IMHO, a better name for ActionError would be PreparedMessage
(because its so similar to PreparedStatements...).

And, as you pointed out, basically an ActionError already has
everything you need. So, why not use a second
ActionErrors stored somewhere else in the session together
with the errors tag ?

Matthias


Reply via email to