Recherche

Résultats de recherche

Résultat(s) de votre recherche : 147

Résultats de recherche

Résultats de recherche

Résultats de recherche

Une erreur s'est produite lors du traitement du modèle.
The following has evaluated to null or missing:
==> content.title  [in template "20116#20160#533446973" at line 23, column 49]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign title = content.title  [in template "20116#20160#533446973" at line 23, column 33]
----
1<#setting locale = locale /> 
2 
3<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
4<#assign assetPublisherTemplateHelperService = serviceLocator.findService("eu.strasbourg.utils.api.AssetPublisherTemplateHelperService")/> 
5 
6<div class="st-bloc-accordeon"> 
7    <div class="st-accordion st-js-accordion st-is-open"> 
8        <h3 class="st-accordion__header st-h2"> 
9            <button type="button" class="st-accordion__trigger" id="accordion-header-actus" aria-controls="accordion-panel-actus" aria-expanded="true"> 
10                <span class="accordion-title">${languageUtil.get(locale, "eu.mh.news")} (${searchContainer.getTotal()})</span> 
11                <span class="st-accordion__icon st-icon-arrow-up"></span> 
12            </button> 
13        </h3> 
14 
15        <div class="st-accordion__panel" id="accordion-panel-actus" aria-labelledby="accordion-header-actus" role="region"> 
16            <div class="st-accordion__content"> 
17                <#if entries?has_content> 
18                    <ul class="st-bloc-actus__list"> 
19                        <#list entries as entry> 
20                            <#assign curEntry = assetEntryLocalService.getEntry(entry.getClassName(), entry.getClassPK()) /> 
21                            <#if curEntry?has_content && curEntry.getAssetRenderer()?has_content && curEntry.getAssetRenderer().getArticle()?has_content> 
22                                <#assign content = strasbourg.buildFieldValues(curEntry.getClassPK()) /> 
23                                <#assign title =content.title /> 
24                                <#assign chapo = content.chapo /> 
25                                <#assign thumbnail = content.thumbnail /> 
26                                <#assign imageURL ="" /> 
27                                <#if thumbnail?has_content> 
28                                    <#assign imageURL = thumbnail.contentUrl /> 
29                                </#if> 
30                                <#assign publishDate = content.datePublished /> 
31                            </#if> 
32                            <li class="st-bloc-actus__list__item"> 
33                                <#assign url = entry.getViewURL() /> 
34                                <a href="${url}"> 
35                                    <div class="st-card-container st-card-actualite st-card-actu-bloc"> 
36                                        <div class="st-card st-card-actu"> 
37                                            <div class="st-caption"> 
38                                                <h3 class="st-title-card">${title?html}</h3> 
39                                                <p class="st-date"> 
40                                                    ${languageUtil.get(locale, "eu.published-on")} 
41                                                    <span>${curEntry.publishDate?date?string.long}</span> 
42                                                </p> 
43                                                <div class="st-text">${chapo?html}</div> 
44                                            </div> 
45                                            <div class="st-image"> 
46                                                <figure class="st-figure st-fit-cover" role="group"> 
47                                                    <img alt="" src="${imageURL}"> 
48                                                </figure> 
49                                            </div> 
50                                        </div> 
51                                    </div> 
52                                </a> 
53                            </li> 
54                        </#list> 
55                    </ul> 
56                </#if> 
57            </div> 
58        </div> 
59    </div> 
60</div>