Uploaded image for project: 'MyFaces Extensions Validator'
  1. MyFaces Extensions Validator
  2. EXTVAL-88

Allow case insensitive comparison for String in the Equals and NotEquals validations

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.2.3, 2.0.3, 1.1.3
    • 1.2.4, 2.0.4, 1.1.4
    • Property Validation
    • None

    Description

      Created a new ValidationParameter to indicate case sensitive (the default, as before) or case insensitive.
      The EqualsStrategy is adjusted to take this parameter into account.

      Usage example:
      @NotEquals(value =

      { "firstName" }

      , parameters =

      { CaseComparator.CaseInsensitive.class }

      )

      Attachments

        1. EXTVAL-88.patch
          6 kB
          Rudy De Busscher
        2. EXTVAL-88_v2.patch
          4 kB
          Gerhard Petracek
        3. EXTVAL-88_unittests.patch
          16 kB
          Rudy De Busscher

        Activity

          People

            Unassigned Unassigned
            rdebusscher Rudy De Busscher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: