struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13565] - To "errors", add prefix, suffix, header, footer attrs, to "messages", add prefix, suffix attrs
Date Sun, 03 Oct 2004 09:50:03 GMT
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=13565>.
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=13565

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

niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From niallp@apache.org  2004-10-03 09:50 -------
I have modified the ErrorsTag to add the header,footer,prefix,suffix 
attributes - all optional and if not specified the orginal "default" keys are 
used (i.e. "errors.header" etc.).

The MessagesTag doesn't (IMO) need the prefix or suffix attributes adding since 
the user can achieve this behaviour using <bean:message> in the body of the 
messages tag. Something like...

   <html:messages id="msg" ...>
       <bean:message key="errors.prefix"/>
       <bean:write name="msg"/>
       <bean:message key="errors.suffix"/>
   </html:messages>

So, I'm closing this bug as FIXED.

Niall

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


Mime
View raw message