Runtime components : Channels components : HTML Channel : Reference : Custom JSP tags : FieldErrorTag
  
FieldErrorTag
A FieldErrorTag accesses the data element named dataName and, if this data element is in error, gets the element error information and writes it on the HTML page.
Mandatory attributes
dataName
FieldErrorTag attributes
dataName
Name of the DataField in the Context hierarchy
fontColornull
Color of the text
Default value: null
fontSizenull
Size of the text
Default value: null
fontFacenull
Typeface of the text
Default value: null
style null
Style for the field description
Default value: null
messagenull
Preset message for any error in the DataElement. The value of this attribute is used as a key to retrieve the localized text from the resource bundle.
Default value: null
Example
See ValidationErrorsTag for an example of using FieldErrorTag.
Go up to
Custom JSP tags