Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2803

Create a Validation module capable of validating POST requests or Resources

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Validation 1.0.0
    • Component/s: Validation
    • Labels:
      None

      Description

      Several Sling users have asked in the past [1] about a Validation mechanism in Sling that's able to validate data coming from the user. However, such a module is still missing.

      This issue is meant to track the work progress on such a module.

      Ideally the module should be able to validate both request parameters and Resources, by obtaining their properties via a ValueMap and provide feedback in case of a validation error.

      [1] - http://sling.markmail.org/search/?q=validation

        Attachments

        1. org.apache.sling.validation.zip.sha1
          0.1 kB
          Radu Cotescu
        2. org.apache.sling.validation.zip
          91 kB
          Radu Cotescu

          Activity

            People

            • Assignee:
              bdelacretaz Bertrand Delacretaz
              Reporter:
              radu Radu Cotescu
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: