Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3480

[Wicket Viewer] parameter#mustSatisfy is evaluated when hit OK, rather than when tab out (ie action scoped, not parameter scoped)

    XMLWordPrintableJSON

Details

    Description

      in demo app, @Property > mustSatisfy

      invoke the action, enter '17' (which is an invalid value).

      Tabbing out does not trigger the validation.

      When we hit OK, we see the validation checked, with the error in the location of action validation (of all parameters):

      by way of contrast, if a parameter is marked as mandatory, then that is checked when tab out, ie at the parameter level.

      Attachments

        1. image-2023-06-02-09-08-43-370.png
          24 kB
          Daniel Keir Haywood

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: