Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6664

bean validation for forms

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0.0-M1
    • None
    • wicket
    • None

    Description

      Wicket bean-validation doesn't work with LambdaModels, since these do not implement IPropertyReflectionAwareModel.

      This case could be supported with an IFormValidator, which validates the form's bean as a whole (similar to https://github.com/42Lines/wicket-bean-validation/blob/master/core/src/main/java/net/ftlines/wicket/validation/bean/ValidationForm.java) and then reports corresponding errors on different components based on their ids.

      Attachments

        Activity

          People

            svenmeier Sven Meier
            svenmeier Sven Meier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: