@@ -423,7 +423,7 @@ else if("LocalDateTime".equals(entiteNomSimple) || "ZonedDateTime".equals(entite
423423 tl (11 , "data-timeformat=\" " , langueConfig .getString (I18n .str_ddDashMMDashyyyy_HHColonmm_VV ), "\" " );
424424 tl (11 , "id=\" {{" , langueConfig .getString (I18n .var_classeApiMethodeMethode ), "}}_" , entiteVar , "\" " );
425425// tl(4, ".a(\"value\", ", entiteVar, " == null ? \"\" : DateTimeFormatter.ofPattern(\"", langueConfig.getString(ConfigCles.var_EEE_d_MMM_yyyy_HAposhAposmmColonss_zz_VV), "\").format(", entiteVar, "));");
426- tl (11 , "value=\" {%- if " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{{ formatZonedDateTime(" , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , ", \" yyyy-MM-dd'T'HH:mm\" , defaultLocaleId, defaultZoneId) | e }}{%- endif %}\" " );
426+ tl (11 , "value=\" {%- if 'GET' == " , langueConfig . getString ( I18n . var_classeApiMethodeMethode ), " and " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{{ formatZonedDateTime(" , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , ", \" yyyy-MM-dd'T'HH:mm\" , defaultLocaleId, defaultZoneId) | e }}{%- endif %}\" " );
427427 tl (1 , "{%- if 'Page' == " , langueConfig .getString (I18n .var_classeApiMethodeMethode ), " %}" );
428428 tl (1 , "{%- endif %}" );
429429 tl (11 , "data-" , classeVarId , "={{ " , i18nGlobale .getString (I18n .var_resultat ), "." , classeVarId , " | tojson }}" );
@@ -1209,7 +1209,7 @@ public void pageCodeClasseJava(String langueNom, JsonObject langueConfig) throws
12091209 wJsHtmInit .tl (8 , "event.target.value ? [ { 'name': 'q', 'value': '" , entiteAttribuerVarSuggere , ":' + event.target.value }" );
12101210 wJsHtmInit .tl (8 , ", { 'name': 'rows', 'value': '10' }" );
12111211 wJsHtmInit .t (8 , ", { 'name': 'fl', 'value': '" , langueConfig .getString (I18n .var_classeNomCanonique ), "," , entiteAttribuerVar , "," , classeVarClePrimaire , entiteAttribuerVarUrlPageEdition == null ? "" : "," + entiteAttribuerVarUrlPageEdition , entiteAttribuerVarTitre == null ? "" : "," + entiteAttribuerVarTitre , "' } ] : [" );
1212- wJsHtmInit .l ("{%- if " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{'name':'fq','value':'" , entiteAttribuerVar , ":{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " }}'}{%- else %}{%- endif %}]" );
1212+ wJsHtmInit .l ("{%- if 'GET' == " , langueConfig . getString ( I18n . var_classeApiMethodeMethode ), " and " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{'name':'fq','value':'" , entiteAttribuerVar , ":{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " }}'}{%- else %}{%- endif %}]" );
12131213 wJsHtmInit .tl (8 , ", document.querySelector('#' + event.target.getAttribute('data-list'))" );
12141214 wJsHtmInit .tl (8 , ", null" );
12151215 wJsHtmInit .tl (8 , ", null" );
@@ -1227,7 +1227,7 @@ public void pageCodeClasseJava(String langueNom, JsonObject langueConfig) throws
12271227 wJsHtmEditionInit .tl (8 , "event.target.value ? [ { 'name': 'q', 'value': '" , entiteAttribuerVarSuggere , ":' + event.target.value }" );
12281228 wJsHtmEditionInit .tl (8 , ", { 'name': 'rows', 'value': '10' }" );
12291229 wJsHtmEditionInit .t (8 , ", { 'name': 'fl', 'value': '" , langueConfig .getString (I18n .var_classeNomCanonique ), "," , entiteAttribuerVar , "," , classeVarClePrimaire , entiteAttribuerVarUrlPageEdition == null ? "" : "," + entiteAttribuerVarUrlPageEdition , entiteAttribuerVarTitre == null ? "" : "," + entiteAttribuerVarTitre , "' } ] : [" );
1230- wJsHtmEditionInit .l ("{%- if " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{'name':'fq','value':'" , entiteAttribuerVar , ":{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " }}'}{%- else %}{%- endif %}]" );
1230+ wJsHtmEditionInit .l ("{%- if 'GET' == " , langueConfig . getString ( I18n . var_classeApiMethodeMethode ), " and " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " is defined %}{'name':'fq','value':'" , entiteAttribuerVar , ":{{ " , i18nGlobale .getString (I18n .var_resultat ), "." , entiteVar , " }}'}{%- else %}{%- endif %}]" );
12311231 wJsHtmEditionInit .tl (8 , ", document.querySelector('#' + event.target.getAttribute('data-list'))" );
12321232 wJsHtmEditionInit .tl (8 , ", window." , varResultat , "." , classeVarId );
12331233 wJsHtmEditionInit .tl (8 , ", window." , varResultat , "." , entiteVar );
0 commit comments