The object that contains functionality related to handling faces messages, especially validation errror messages. Contains methods for clearing message of an element or adding messages to an element.
A list of element groups to be validated. Usually corresponds to the name of single form element. For some cases such as a select list of checkboxes, a group may correspond to multiple DOM elements.
A map between the client ID of an element and a list of faces message for that element.
Adds a group to the list of element groups to validate. An element group is often just the name of a single INPUT, TEXTAREA or SELECT element, but may also consist of multiple DOM elements, such as in the case of select list of checkboxes.
Name of an element group to add.
Removes all messages from this validation context.
Shortcut for PrimeFaces.validation.Utils.getLabel.
A DOM element for which to find the label.
The label of the given element.
Shortcut for PrimeFaces.validation.Utils.getMessage.
The i18n key of a message, such as
The localized faces message for the given key, or
null if no
translation was found for the key.
Reports how many messages were added to this validation context. Note that each component may have several messages.
The number of messages added to this validation context.
Checks whether this validation context contains any messages at all.
true if this validation context contains zero messages, or
Checks whether the given element group is in the list of groups to be validated. An element group is often just the name of a single INPUT, TEXTAREA or SELECT element, but may also consist of multiple DOM elements, such as in the case of a select list of checkboxes.
Name of an element group to check.
true if the given group is to be validated, or
Generated using TypeDoc