From e1a1984b76c57f0f23dc2e475acb10aaaf018e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Bulot?= Date: Wed, 3 Sep 2025 10:26:39 +0200 Subject: [PATCH 1/2] feat(xforms): allow to add data into stromae/perso (#1321) --- pom.xml | 2 +- .../post-processing/xforms/insee-pattern.xsl | 34 +++++++++++++++++++ .../params/in-to-out/business/form.xhtml | 2 ++ .../params/in-to-out/household/form.xhtml | 2 ++ 4 files changed, 39 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 437d1883f..ab64214d8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fr.insee.eno eno-core - 2.19.0-SNAPSHOT + 2.20.0-SNAPSHOT jar Eno – Questionnaire generator diff --git a/src/main/resources/xslt/post-processing/xforms/insee-pattern.xsl b/src/main/resources/xslt/post-processing/xforms/insee-pattern.xsl index 941a2a059..f594ba18f 100644 --- a/src/main/resources/xslt/post-processing/xforms/insee-pattern.xsl +++ b/src/main/resources/xslt/post-processing/xforms/insee-pattern.xsl @@ -178,6 +178,40 @@ + + + + + + + + + + + + + + + + + + + + + + ' + + + + + + + + + + + + diff --git a/src/test/resources/params/in-to-out/business/form.xhtml b/src/test/resources/params/in-to-out/business/form.xhtml index abe8d01b1..6a95f5adc 100644 --- a/src/test/resources/params/in-to-out/business/form.xhtml +++ b/src/test/resources/params/in-to-out/business/form.xhtml @@ -1253,6 +1253,8 @@ value="count(instance('fr-form-util')/Pages/*[following-sibling::*[name()=instance('fr-form-instance')/stromae/util/nomSectionCourante]]) +1"/> + diff --git a/src/test/resources/params/in-to-out/household/form.xhtml b/src/test/resources/params/in-to-out/household/form.xhtml index 4ef444d93..2bb1d252e 100644 --- a/src/test/resources/params/in-to-out/household/form.xhtml +++ b/src/test/resources/params/in-to-out/household/form.xhtml @@ -6165,6 +6165,8 @@ value="count(instance('fr-form-util')/Pages/*[following-sibling::*[name()=instance('fr-form-instance')/stromae/util/nomSectionCourante]]) +1"/> + From 04735833403a1f80ad3e6b45ea62bcf2d31723e9 Mon Sep 17 00:00:00 2001 From: Laurent Caouissin <38245508+laurentC35@users.noreply.github.com> Date: Tue, 16 Sep 2025 17:50:46 +0200 Subject: [PATCH 2/2] bump: 2.20.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ab64214d8..6bb4d8999 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ fr.insee.eno eno-core - 2.20.0-SNAPSHOT + 2.20.0 jar Eno – Questionnaire generator