The html:errors Tag


The html:errors Tag

The html:errors tag can be used in two different ways. If used without a property attribute, it will display all the errors for the form. When used with the attribute, it displays only the errors for that specific property. There are two special values you can put into your ApplicationResources.properties file to control how these errors are displayed:

 errors.header=<FONT COLOR="#ff0000"> errors.footer=</BR></FONT> 

The value of errors.header is placed just before the error; the footer is placed just after the error. The ones shown here put the error in red.



Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net