Class UniqueClientResourceName

    • Constructor Detail

      • UniqueClientResourceName

        public UniqueClientResourceName()
    • Method Detail

      • findBean

        protected Object findBean​(javax.faces.context.FacesContext context,
                                  javax.faces.component.UIComponent component)
        Description copied from class: AUniqueBeanFieldValidator
        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:
        findBean in class AUniqueBeanFieldValidator<MandantRessource,​String>
        Parameters:
        context - Current faces context.
        component - Component to validate.
        Returns:
        The entity with a field to validate.