REF-lex, un produit romand
Les juristes de la FER se sont unis pour proposer cette plateforme unique et intercantonale.
La FER réunit six associations patronales interprofessionnelles cantonales:
La FER réunit six associations patronales interprofessionnelles cantonales:
Notre équipe
Avec 12 juristes à votre service, bénéficiez d'une expertise juridique de pointe pour toutes vos demandes et exigences en matière de droit du travail.
Une erreur s'est produite lors du traitement du modèle.
The following has evaluated to null or missing:
==> renderer.getArticle [in template "20095#20120#399325" at line 9, column 26]
----
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: #if renderer.getArticle()?? && classN... [in template "20095#20120#399325" at line 9, column 21]
----
1<#setting locale="fr_FR">
2<#if entries?has_content>
3 <div class="expert-component">
4 <section class="expert-slider slider">
5 <#list entries as curEntry>
6 <#if curEntry.getAssetRenderer()??>
7 <#assign renderer = curEntry.getAssetRenderer() />
8 <#assign className = renderer.getClassName() />
9 <#if renderer.getArticle()?? && className == "com.liferay.journal.model.JournalArticle" >
10 <#assign journalArticle = renderer.getArticle() >
11 <#assign document = saxReaderUtil.read(journalArticle.getContent()) >
12 <#assign rootElement = document.getRootElement() >
13 <#-- Nom -->
14 <#assign Nom ="" />
15 <#assign xPathSelectorItem = saxReaderUtil.createXPath("dynamic-element[@field-reference='Nom']") >
16 <#if xPathSelectorItem.selectSingleNode(rootElement)?? && xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content")?? >
17 <#assign Nom = xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content").getStringValue() />
18 </#if>
19 <#-- Nom -->
20 <#assign Prenom ="" />
21 <#assign xPathSelectorItem = saxReaderUtil.createXPath("dynamic-element[@field-reference='Prenom']") >
22 <#if xPathSelectorItem.selectSingleNode(rootElement)?? && xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content")?? >
23 <#assign Prenom = xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content").getStringValue() />
24 </#if>
25 <#-- Specialite -->
26 <#assign Specialite ="" />
27 <#assign xPathSelectorItem = saxReaderUtil.createXPath("dynamic-element[@field-reference='Specialite']") >
28 <#if xPathSelectorItem.selectSingleNode(rootElement)?? && xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content")?? >
29 <#assign Specialite = xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content").getStringValue() />
30 </#if>
31 <#-- URLProfil -->
32 <#assign URLProfil ="" />
33 <#assign xPathSelectorItem = saxReaderUtil.createXPath("dynamic-element[@field-reference='URLProfil']") >
34 <#if xPathSelectorItem.selectSingleNode(rootElement)?? && xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content")?? >
35 <#assign URLProfil = xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content").getStringValue() />
36 </#if>
37 <#-- PhotoPortrait -->
38 <#assign PhotoCarre ="" />
39 <#assign xPathSelectorItem = saxReaderUtil.createXPath("dynamic-element[@field-reference='PhotoCarre']") >
40 <#if xPathSelectorItem.selectSingleNode(rootElement)?? && xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content")?? >
41 <#assign PhotoCarre = xPathSelectorItem.selectSingleNode(rootElement).selectSingleNode("dynamic-content").getStringValue() />
42 <#if PhotoCarre != "">
43 <#assign imgJson = jsonFactoryUtil.createJSONObject(PhotoCarre)>
44 <#if imgJson?? && imgJson.groupId?? >
45 <#assign PhotoCarre = "/documents/"+ imgJson.groupId +"/" + imgJson.uuid >
46 <#else>
47 <#assign PhotoCarre = "" >
48 </#if>
49 </#if>
50 </#if>
51 <div class="expert">
52 <div class="expert-position-div">
53 <img src="${PhotoCarre}" alt="" class="expert-img" loading="lazy">
54 </div>
55 <h3>${Prenom} ${Nom}</h3>
56 <span class="basic-text-desktop">${Specialite}</span>
57 </div>
58 </#if>
59 </#if>
60 </#list>
61 </section>
62 <div class="slider-centeredarrows">
63 <div class="centeredarrow-prev centeredarrow-prev-expert">
64 <img src="/o/sjel-theme/images/svg/arrow-down.svg" alt="arrow icon" class="arrow-left-icon"/>
65 </div>
66 <div class="slider-custom-dots slider-custom-dots-expert"></div>
67 <div class="centeredarrow-next centeredarrow-next-expert">
68 <img src="/o/sjel-theme/images/svg/arrow-down.svg" alt="arrow icon" class="arrow-right-icon"/>
69 </div>
70 </div>
71 </div>
72
73 <script src="/o/sjel-theme/js/expert/expert.js"></script>
74</#if>