com.atlassian.bitbucket.ui.ValidationErrors |
Known Indirect Subclasses |
Used by ContextualFormFragment
to report field validation errors.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add an error message to a specific field.
| |||||||||||
Add a general error message that will be rendered at the top of the form.
|
Add an error message to a specific field. You can add multiple error messages per field.
fieldName | the name attribute value of the field |
---|---|
errorMessage | the error message. This should be an internationalised String resolved using SAL's I18nResolver. |
Add a general error message that will be rendered at the top of the form.
errorMessage | the error message. This should be an internationalised String resolved using SAL's I18nResolver. |
---|