From a3e728f5ccf9042da4e77bccf28562e4e55d840f Mon Sep 17 00:00:00 2001 From: Alexey Lukashov Date: Fri, 12 May 2017 10:53:55 +0200 Subject: [PATCH 1/5] #169 add alpha and no-alpha cases --- espd-web/pom.xml | 2 +- .../espd/domain/SatisfiesAllCriterion.java | 1 + .../views/criteriaTemplates/checkTemplate.jsp | 16 ++--- .../resources/WEB-INF/views/espdTemplate.jsp | 15 +++++ .../resources/WEB-INF/views/print.jsp | 36 ++++++----- .../WEB-INF/views/wizard/procedureForm.jsp | 8 +-- .../WEB-INF/views/wizard/selectionCA.jsp | 22 +------ .../WEB-INF/views/wizard/selectionEO.jsp | 59 ++++++++++--------- .../META-INF/resources/static/js/init.js | 14 +---- 9 files changed, 86 insertions(+), 87 deletions(-) diff --git a/espd-web/pom.xml b/espd-web/pom.xml index 53269b2f9..ec4afaff0 100644 --- a/espd-web/pom.xml +++ b/espd-web/pom.xml @@ -183,7 +183,7 @@ - [3.0.3,3.5.0) + [3.0.3,3.5.0] ${java.version} diff --git a/espd-web/src/main/java/eu/europa/ec/grow/espd/domain/SatisfiesAllCriterion.java b/espd-web/src/main/java/eu/europa/ec/grow/espd/domain/SatisfiesAllCriterion.java index 2ddfe5f97..7392b2468 100644 --- a/espd-web/src/main/java/eu/europa/ec/grow/espd/domain/SatisfiesAllCriterion.java +++ b/espd-web/src/main/java/eu/europa/ec/grow/espd/domain/SatisfiesAllCriterion.java @@ -45,4 +45,5 @@ public Boolean getAnswer() { // the satisfies all criterion has special behaviour so the default value should be null return this.answer; } + } diff --git a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/criteriaTemplates/checkTemplate.jsp b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/criteriaTemplates/checkTemplate.jsp index 0ebaec01e..b9da737ec 100644 --- a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/criteriaTemplates/checkTemplate.jsp +++ b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/criteriaTemplates/checkTemplate.jsp @@ -42,17 +42,19 @@
- - +

+ +

diff --git a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/espdTemplate.jsp b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/espdTemplate.jsp index e5e614b46..aa47adf11 100644 --- a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/espdTemplate.jsp +++ b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/espdTemplate.jsp @@ -33,6 +33,21 @@ - @@ -66,14 +56,8 @@ ${span18n['createcasel_alert']} - - ${span18n['yes']} - ${span18n['no']} - - - ${span18n['yes']} - ${span18n['no']} - + ${span18n['yes']} + ${span18n['no']}
@@ -86,7 +70,7 @@
diff --git a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/wizard/selectionEO.jsp b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/wizard/selectionEO.jsp index 75b60a4df..94ea79082 100644 --- a/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/wizard/selectionEO.jsp +++ b/espd-web/src/main/resources/META-INF/resources/WEB-INF/views/wizard/selectionEO.jsp @@ -40,6 +40,8 @@ <%request.setAttribute("selectionEO", eu.europa.ec.grow.espd.xml.CriteriaTemplates.selectionEO);%> + +