Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-172

It should be possible to merge validation constraints from the @Validate annotation with those explicitly set via the validate parameter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 5.0.15
    • None
    • None
    • None

    Description

      It seems that some validation concerns (such as validations that relate two fields) can't be expressed in the @Validate annotation; at the same time, we don't want to have needless duplication.

      I propose the special name "default" as a validator name that means the default validators derived from the @Validate annotation (or other rules).

      Thus:

      <t:textfield t:id="backOrderCount" validate="default,lteq=orderCount"/>

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: