Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
9.0.0-M1
-
None
-
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.