DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13565>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13565

To "errors", add prefix, suffix, header, footer attrs, to "messages", add prefix, 
suffix attrs





------- Additional Comments From [EMAIL PROTECTED]  2002-10-15 21:56 -------
Ted, with all due respect I disagree with this solution.  I can agree with deprecating 
the errors 
tag in favor of the messages tag; however, the messages tag is more of a burden to use 
and needs some 
of the niceties of the errors tag.

The messages tag needs a prefix and suffix attribute and a 
way to globally specify what key to use for them (as well as the header and footer).

This could 
be configured in web.xml:
<context-param>
<param-
name>org.apache.struts.taglib.html.MessagesTag.headerKey</param-name>
<param-
value>messages.header</param-value>
</context-param>

This would allow a one liner like 
<html:messages property="firstName"/>.
If you make messages hard to use, people will just 
continue using errors.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to