You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/06/18 19:53:49 UTC
DO NOT REPLY [Bug 29679] -
Validator returns ActionErrors instead of ActionMessages
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29679>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29679
Validator returns ActionErrors instead of ActionMessages
------- Additional Comments From jhertz@speakeasy.net 2004-06-18 17:53 -------
Even if this is fixed, it will create another problem:
When people migrate to 1.2 and fix their use of deprecated code, they will then
(possibly the hard way since this won't generate a warning) find out they ALSO
have to add a message="true" to every error message display tag.
Here's my guess as to how this should work:
There should be a "message" attribute and an "error" attribute to enable
turning OFF one or the other in the <html:messages> and <logic:messagesPresent>
tags. The default behavior should be such that both ActionErrors and
ActionMessages are displayed.
I think the horse has already left the barn for the optimal solution --
html:errors just for ActionErrors and html:messages just for ActionMessages,
getting rid of the message attribute :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org