com.smartgwt.client.widgets.form
Interface FormItemErrorFormatter


public interface FormItemErrorFormatter

Formatter to customize the error message of a FormItem


Method Summary
 String getErrorHTML(String[] errors)
          Output the HTML for an error message in a form element.
 

Method Detail

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