0 Replies Latest reply on Oct 11, 2007 11:27 PM by Terry

    Hibernate validation for no spaces

    Terry Apprentice

      Does anyone know how to use hibernate validator to disallow spaces only in input field. I thought @NotEmpty was the one, but it only checks for nulls and empty strings. It doesn't trim and then check for empty string.