This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/struts.git
from ce27f8823 WW-5816 test(validation): cover LocalDateRangeBoundConverter
directly
new 74778108a WW-5811 feat(html5): derive date min/max and temporal
required constraints
new f6cf6bc59 WW-5811 test(html5): render min/max from java.util.Date XML
bounds end to end
new 1a4471e25 WW-5811 fix(html5): never let derived date constraints
reject what the server accepts
new 1d9342033 WW-5811 refactor(html5): make the null action check explicit
for Sonar S2259
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/struts2/components/Form.java | 61 ++++++++++
.../struts2/components/HtmlConstraintProvider.java | 14 +++
.../apache/struts2/components/HtmlControlType.java | 7 ++
.../components/StrutsHtmlConstraintProvider.java | 95 +++++++++++++--
.../java/org/apache/struts2/components/UIBean.java | 7 +-
.../apache/struts2/TestConfigurationProvider.java | 3 +-
.../struts2/components/ConstraintAction.java | 27 +++++
.../components/ConstraintAttributesTest.java | 134 +++++++++++++++++++++
.../StrutsHtmlConstraintProviderTest.java | 134 ++++++++++++++++++++-
.../views/jsp/ui/Html5ConstraintRenderingTest.java | 69 ++++++++++-
.../components/ConstraintAction-validation.xml | 22 ++++
11 files changed, 557 insertions(+), 16 deletions(-)