A ValidationErrorsTag accesses the context's validation error messages and writes them on the HTML page. Depending on the value of the mode attribute, this tag may only access the cross-validation errors or it may access all of them.
Mandatory attributes
renderMode (list | combo)
ValidationErrorsTag attributes
renderMode
Whether the error messages are shown as an HTML list (list) or combo box (combo)
fontColor
Color of the text
Default value: null
fontSize
Size of the text
Default value: null
fontFace
Typeface of the text
Default value: null
style
Style for the field description
Default value: null
mode
Whether the tag displays only cross-validation errors or all errors
Default value: X (cross-validation)
bundleFile
Resource bundle to use for localized messages. This resource prevails over the resource specified by an AddBundleTag.
Default value: null
Example
This is an example of using FieldDescriptionTag, FieldErrorTag, and ValidationErrorsTag: