You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2003/03/02 20:23:34 UTC

Re: just curious, shouldn't maybe message="true" use error="true" instead?

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 <ma...@reumann.net>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: Struts Users Mailing List <st...@jakarta.apache.org>
>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: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org