@Deprecated public interface ValidatorMessages
IModel<String> message = new ClassResourceModel(key, ValidatorMessages.class);
or as keys to pass to the method IFieldValidator.newValueViolation(IModel, String)
.
(note that such use is deprecated though, as validators should provide their own messages)
Use of these messages is deprecated. Validators should provide their own translations. e.g. using resource bundles.
Modifier and Type | Field and Description |
---|---|
static String |
HTML_IS_EMPTY
Deprecated.
|
static String |
INVALID_XML
Deprecated.
|
static String |
PATH_USED_MULTIPLE_TIMES
Deprecated.
|
static String |
REFERENCE_IS_EMPTY
Deprecated.
|
static String |
REQUIRED_FIELD_NOT_PRESENT
Deprecated.
|
static final String INVALID_XML
static final String HTML_IS_EMPTY
static final String REQUIRED_FIELD_NOT_PRESENT
static final String REFERENCE_IS_EMPTY
static final String PATH_USED_MULTIPLE_TIMES
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.