struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: just curious, shouldn't maybe message="true" use error="true" instead?
Date Sun, 02 Mar 2003 19:23:34 GMT
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 <maillist@reumann.net>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@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


Mime
View raw message