Package | Description |
---|---|
org.omnifaces.component.validator |
Modifier and Type | Class and Description |
---|---|
class |
ValidateAll
ValidateAll validates if ALL of the given
UIInput components have been filled out. |
class |
ValidateAllOrNone
ValidateAllOrNone validates if at least ALL of the given
UIInput components have been
filled out or that NONE of the given UIInput components have been filled out. |
class |
ValidateEqual
ValidateEqual validates if ALL of the given
UIInput components have the same value. |
class |
ValidateMultiple
ValidateMultiple allows the developer to validate multiple fields by either a custom validator
method:
|
class |
ValidateMultipleFields
Base class which is to be shared between all multi field validators.
|
class |
ValidateOne
ValidateOneNotMore validates if ONLY ONE of the given
UIInput components has been
filled out. |
class |
ValidateOneOrMore
ValidateOneOrMore validates if at least ONE of the given
UIInput components has been
filled out. |
class |
ValidateOneOrNone
ValidateOneOrNone validates if ONLY ONE of the given
UIInput components has been
filled out or that NONE of the given UIInput components have been filled out. |
class |
ValidateOrder
ValidateOrder validates if the values of the given
UIInput components as specified in
the components attribute are in the order as specified by the type attribute which accepts
the following values:
lt (default): from least to greatest, without duplicates.
lte : from least to greatest, allowing duplicates (equal values next to each other).
gt : from greatest to least, without duplicates.
gte : from greatest to least, allowing duplicates (equal values next to each other).
|
class |
ValidateUnique
ValidateUnique validates if ALL of the given
UIInput components have an unique value. |
Modifier and Type | Method and Description |
---|---|
MultiFieldValidator |
ValidateMultiple.getValidator()
Returns the validator instance.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidateMultiple.setValidator(MultiFieldValidator validator)
Sets the validator instance.
|