Class UniqueClientResourceName

    • Constructor Detail

      • UniqueClientResourceName

        public UniqueClientResourceName()
    • Method Detail

      • findEntity

        protected Object findEntity​(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent component)
        Description copied from class: AUniqueEntityFieldValidator
        Finds the entity to validate from the UI component. The default implementation attempts to read the entity from the value expression base (e.g. when you use myBean.selected.name).
        Overrides:
        findEntity in class AUniqueEntityFieldValidator<MandantRessource,​String>
        Parameters:
        context - Current faces context.
        component - Component to validate.
        Returns:
        The entity with a field to validate.