Class UniquePromptConnectionName

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

@ApplicationScoped public class UniquePromptConnectionName extends AUniqueBeanStringFieldValidator<PromptConnectionViewModel> implements javax.faces.validator.Validator, Serializable
Validator for the uniqueness of a prompt connection 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: