A useful enhancement to the <html:errors/> tag would be to have a single message
 header/footer as well as an error block header and footer.
This enables you to keep your message strings free of html markup such as the
<li> shown in the examples.

eg.
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct
 the following error(s) before proceeding:<ul>
errors.footer=</ul><hr>

with the extension of:

error.header=<li>
error.footer=</li>


The attached is a version of our ErrorsTag (copied from the struts errorstag)
incorporating this change

(See attached file: ErrorsTag.java)

Martin

ErrorsTag.java

Reply via email to