Class UniquePromptQueryName

All Implemented Interfaces:
Serializable, EventListener, javax.faces.validator.Validator

@ApplicationScoped public class UniquePromptQueryName extends AUniqueBeanStringFieldValidator<PromptQueryViewModel> implements javax.faces.validator.Validator, Serializable
Validator for the uniqueness of a prompt query name within its scope. To use this validator, you must add a "scope" attribute to the input component, which holds the PromptScope of the connections being validated. E.g.:
<h:inputText value="#{bean.name}" validator="uniquePromptConnectionName">
  <f:attribute name="scope" value="#{bean.scope}" />
</h:inputText>
Since:
8.5.0
See Also: