Skip to content

Commit aed7282

Browse files
committed
Fixing bugs with wa-select and waiting for web components
1 parent 03f5ecf commit aed7282

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/main/java/org/computate/frFR/java/EcrirePageClasse.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2370,10 +2370,9 @@ public void pageCodeClasseJinja(String langueNom, JsonObject i18nPage) throws Ex
23702370
auteurPageJsRecherche.tl(0, "Promise.all([");
23712371
auteurPageJsRecherche.tl(2, "customElements.whenDefined('", composantsWebPrefixe, "button')");
23722372
auteurPageJsRecherche.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "input')");
2373-
// auteurPageJsRecherche. tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "checkbox')");
2374-
// auteurPageJsRecherche. tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "option')");
2375-
// auteurPageJsRecherche. tl(4, ", customElements.whenDefined('select')");
2376-
// auteurPageJsRecherche. tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "textarea')");
2373+
auteurPageJsRecherche.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "select')");
2374+
auteurPageJsRecherche.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "radio')");
2375+
auteurPageJsRecherche.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "checkbox')");
23772376
auteurPageJsRecherche.tl(2, "]).then(() => {");
23782377

23792378
auteurPageJsRecherche.l();
@@ -3089,11 +3088,9 @@ public void ecrirePageHeadJinja(String langueNom, JsonObject i18nPage, Boolean e
30893088
tl(3, "Promise.all([");
30903089
tl(4, "customElements.whenDefined('", composantsWebPrefixe, "button')");
30913090
tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "input')");
3092-
// tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "select')");
3093-
// tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "checkbox')");
3094-
// tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "option')");
3095-
// tl(4, ", customElements.whenDefined('select')");
3096-
// tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "textarea')");
3091+
tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "select')");
3092+
tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "radio')");
3093+
tl(4, ", customElements.whenDefined('", composantsWebPrefixe, "checkbox')");
30973094
tl(3, "]).then(() => {");
30983095
if(classeVarId != null) {
30993096
l();
@@ -4350,6 +4347,9 @@ else if(entiteAttribuer) {
43504347
auteurPageJsEdition.tl(0, "Promise.all([");
43514348
auteurPageJsEdition.tl(2, "customElements.whenDefined('", composantsWebPrefixe, "button')");
43524349
auteurPageJsEdition.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "input')");
4350+
auteurPageJsEdition.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "select')");
4351+
auteurPageJsEdition.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "radio')");
4352+
auteurPageJsEdition.tl(2, ", customElements.whenDefined('", composantsWebPrefixe, "checkbox')");
43534353
auteurPageJsEdition.tl(2, "]).then(() => {");
43544354

43554355
for(String classeApiMethode : classeApiMethodes) {
@@ -5657,11 +5657,11 @@ public void ecrirePageRechercheJinja(String langueNom, JsonObject i18nPage) thro
56575657
tl(0, "{%- block htmBody", i18nPage.getString(I18n.var_Debut), classePageNomSimple, " %}");
56585658

56595659
// htmBodyCount0 //
5660+
tl(0, "{%- include ", classePageBarreLateraleTemplate, " %}");
56605661
tl(0, "{% if ", varResultat, "Count == 0 %}");
56615662
ecrirePageRechercheAucun(langueNom, i18nPage);
56625663
tl(0, "{% else %}");
56635664

5664-
tl(0, "{%- include ", classePageBarreLateraleTemplate, " %}");
56655665
tl(0, "{%- include ", classePageRechercheSuggereTemplate, " %}");
56665666

56675667
tl(5, "<div class=\"pageContent \">");
@@ -5823,12 +5823,12 @@ public void ecrirePageEditionJinja(String langueNom, JsonObject i18nPage) throws
58235823
tl(0, "{%- block htmBody", i18nPage.getString(I18n.var_Milieu), classePageNomSimple, " %}");
58245824

58255825
tl(4, "<div class=\"pageContent \">");
5826+
tl(0, "{%- include ", classePageBarreLateraleTemplate, " %}");
58265827
// htmBodyCount0 //
58275828
tl(0, "{% if ", varResultat, "Count == 0 %}");
58285829
ecrirePageRechercheAucun(langueNom, i18nPage);
58295830
tl(0, "{% else %}");
58305831

5831-
tl(0, "{%- include ", classePageBarreLateraleTemplate, " %}");
58325832
tl(0, "{%- include ", classePageRechercheSuggereTemplate, " %}");
58335833

58345834
// htmBodyCount1 //

0 commit comments

Comments
 (0)