Create abstract form and property validators to integrate JSR-303 beanvalidation
--------------------------------------------------------------------------------
Key: WICKET-2825
URL: https://issues.apache.org/jira/browse/WICKET-2825
Project: Wicket
Issue Type: New Feature
Components: wicket
Affects Versions: 1.4.7
Reporter: Carlos Vara
There has been many requests and buzz about this in the mailing list. However,
the available solutions either inject the Validator using some DI framework or
directly instantiate it, so they are tailored to the personal needs of the
people that created those solutions.
I think it would be great for Wicket to add 2 abstract form and property
validators that left open the way to obtain the validator (an abstract
getValidator() method), so they are also non-intrusive in wicket's code base
(they only add javax.validation as dependecy, which is the minimum to integrate
this).
I have coded a proposal for these two validators, and also attach the
additional patch to the pom (adding javax.validation as dependency). I have
tested it in the trunk and works fine so far.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.