Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused empty elements becoming visible in Orbeon 2022 #1102

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,8 @@
<xsl:template match="fr:section[@name='beginning']">
<fr:section id="ACCUEIL-control" bind="ACCUEIL-bind" name="ACCUEIL">
<xf:label ref="$form-resources/ACCUEIL/label" />
<xf:output id="ACCUEIL-1-control" name="ACCUEIL-1" bind="ACCUEIL-1-bind" class="icone-help">
<xf:output id="ACCUEIL-1-control" name="ACCUEIL-1" bind="ACCUEIL-1-bind">
<xf:label ref="$form-resources/ACCUEIL-1/label" mediatype="text/html" />
<xf:help ref="$form-resources/ACCUEIL-1/help" mediatype="text/html" />
</xf:output>
<xf:output id="ACCUEIL-2-control" name="ACCUEIL-2" bind="ACCUEIL-2-bind">
<xsl:if test="$context=$household">
Expand Down
4 changes: 1 addition & 3 deletions src/test/resources/params/in-to-out/business/form.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -1289,10 +1289,8 @@
<xf:label ref="$form-resources/ACCUEIL/label"/>
<xf:output id="ACCUEIL-1-control"
name="ACCUEIL-1"
bind="ACCUEIL-1-bind"
class="icone-help">
bind="ACCUEIL-1-bind">
<xf:label ref="$form-resources/ACCUEIL-1/label" mediatype="text/html"/>
<xf:help ref="$form-resources/ACCUEIL-1/help" mediatype="text/html"/>
</xf:output>
<xf:output id="ACCUEIL-2-control" name="ACCUEIL-2" bind="ACCUEIL-2-bind">
<xf:label ref="$form-resources/ACCUEIL-2/label" mediatype="text/html"/>
Expand Down
4 changes: 1 addition & 3 deletions src/test/resources/params/in-to-out/household/form.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -6197,10 +6197,8 @@
<xf:label ref="$form-resources/ACCUEIL/label"/>
<xf:output id="ACCUEIL-1-control"
name="ACCUEIL-1"
bind="ACCUEIL-1-bind"
class="icone-help">
bind="ACCUEIL-1-bind">
<xf:label ref="$form-resources/ACCUEIL-1/label" mediatype="text/html"/>
<xf:help ref="$form-resources/ACCUEIL-1/help" mediatype="text/html"/>
</xf:output>
<xf:output id="ACCUEIL-2-control" name="ACCUEIL-2" bind="ACCUEIL-2-bind">
<xf:label ref="replace(replace(replace($form-resources/ACCUEIL-2/label,'¤Ue_QuiRepond1¤',instance('fr-form-instance')//Variable[@idVariable='Ue_QuiRepond1']),'¤Ue_QuiRepond2¤',instance('fr-form-instance')//Variable[@idVariable='Ue_QuiRepond2']),'¤Ue_QuiRepond3¤',instance('fr-form-instance')//Variable[@idVariable='Ue_QuiRepond3'])"
Expand Down