You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2019/05/06 12:07:00 UTC

[jira] [Created] (WICKET-6664) bean validation for forms

Sven Meier created WICKET-6664:
----------------------------------

             Summary: bean validation for forms
                 Key: WICKET-6664
                 URL: https://issues.apache.org/jira/browse/WICKET-6664
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 9.0.0-M1
            Reporter: Sven Meier
            Assignee: Sven Meier


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)