It would make more sense if they displayed ActionMessages instead of
ActionErrors by default but, for whatever reason, they don't.
David
From: Rick Reumann [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: just curious, shouldn't maybe message=true use error=true
instead?
Date: Sun, 2 Mar 2003 01:47:03 -0500
Nothing major here, I'm just curious why the
messages:present tag uses message=true in order to check if
ActionMessages are present. I was thinking since ActionMessages is the
base class of ActionErrors that it might make more sense if
messages:present would show all messages, or at least ActionMessages by
default, and that maybe adding something like error=true would look for
ActionErrors (or maybe having errorsOnly=true would show just
ActionErrors).
I could of course be totally missing the way the
messages:present tag is working since it's way past my bed time:)
--
Rick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]