html:errors und html:messages should provide number of messages to header and 
footer
------------------------------------------------------------------------------------

         Key: STR-2913
         URL: http://issues.apache.org/struts/browse/STR-2913
     Project: Struts 1
        Type: Improvement

  Components: Taglibs  
    Versions: 1.x Next    
    Reporter: Denis Pasek
    Priority: Minor


One nice enhancement of the Struts' html:errors and html:messages would be that 
while generating the defined header or footer the number of available messages 
are used as message arguments. This would facialate a header like "There are 3 
error messages" or "There is 1 error message" using a message pattern like this:
errors.header=There are {0} error {0,choice,1#message|1<messages}.
This enhancement should be totally backward compatible since it's currently not 
possible to add arguments to headers and footers so nobody should have 
reserverd argument 0 for something.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to