Interface FormItemErrorFormatter


public interface FormItemErrorFormatter
Formatter to customize the error message of a FormItem
  • Method Summary

    Modifier and Type
    Method
    Description
    getErrorHTML(String[] errors)
    Output the HTML for an error message in a form element.
  • Method Details

    • getErrorHTML

      String getErrorHTML(String[] errors)
      Output the HTML for an error message in a form element. Default behavior respects showErrorIcon and showErrorText as described in the documentation for those properties.
      Parameters:
      errors - the error messages
      Returns:
      the HTML to display the error