MyFaces Extensions Validator
  1. MyFaces Extensions Validator
  2. EXTVAL-75

validate that a field should be empty based on some other fields, EmptyIf annotation and strategy

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.4, 2.0.4, 1.1.4
    • Component/s: Property Validation
    • Labels:
      None

      Description

      A field should be empty when some conditions are met (like another field is filled in, a checkbox is marked, ...)

      1. EmptyIf.java
        1 kB
        Rudy De Busscher
      2. EmptyIfStrategy.java
        1 kB
        Rudy De Busscher

        Activity

        Hide
        Rudy De Busscher added a comment -

        some code that is able to perform the validation, inspired by the RequiredIf functionality

        Show
        Rudy De Busscher added a comment - some code that is able to perform the validation, inspired by the RequiredIf functionality

          People

          • Assignee:
            Unassigned
            Reporter:
            Rudy De Busscher
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development