Documents de travail
Merci de vous identifier pour accéder aux documents.
Connexion
Domaines métrologiques
Raccourcis
Promouvoir et améliorer la comparabilité mondiale des mesures
Connexion
Domaines métrologiques
Raccourcis
Connexion
Connexion
Domaines métrologiques
Raccourcis
Connexion
Domaines métrologiques
Raccourcis
Raccourcis
cctf/cctf-wgsp/2023-06-20
Documents de travail
Merci de vous identifier pour accéder aux documents.
Java method "org.bipm.portal.service.commons.asset.service.impl.BipmAssetServiceImpl.sortFilteredWGSessionsEntries(List, Locale, boolean, Map)" threw an exception when invoked on org.bipm.portal.service.commons.asset.service.impl.BipmAssetServiceImpl object "org.bipm.portal.service.commons.asset.service.impl.BipmAssetServiceImpl@2f3bed6d"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign sortedEntries = bipmCommonsSe... [in template "20099#20135#50481311" at line 15, column 5]
----
1<#function getAssetRenderer index entriesList>
2 <#if entriesList[index].getAssetRenderer()??>
3 <#local result = entriesList[index].getAssetRenderer()/>
4 <#else>
5 <#assign nextIndex = index+1/>
6 <#if entriesList?size gt nextIndex>
7 <#local result = getAssetRenderer(nextIndex,entriesList)/>
8 </#if>
9 </#if>
10 <#return result>
11</#function>
12<#if entries?has_content>
13 <#assign bipmCommonsService = serviceLocator.findService("org.bipm.portal.service.commons.asset.service.BipmAssetService")/>
14 <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
15 <#assign sortedEntries = bipmCommonsService.sortFilteredWGSessionsEntries(entries,locale,true,portletPreferences)/>
16 <#assign firstAssetRenderer = getAssetRenderer(0,entries)/>
17 <#assign firstClassName = firstAssetRenderer.getClassName()/>
18 <#assign firstSession = firstAssetRenderer.getAssetObject()/>
19 <#assign committeeId = ""/>
20 <#assign workingGroupId = ""/>
21 <#if firstClassName == "org.bipm.portal.service.secretariat.model.SessionCommittee">
22 <#assign committeeId = firstSession.getCommittee().getBipmId()/>
23 </#if>
24 <#if firstClassName == "org.bipm.portal.service.secretariat.model.SessionWorkingGroup">
25 <#assign committeeId = firstSession.getWorkingGroup().getCommittee().getBipmId()/>
26 <#assign workingGroupId = firstSession.getWorkingGroup().getBipmId()/>
27 </#if>
28
29 <div class="session-committee__wrapper">
30 <#if firstClassName == "org.bipm.portal.service.secretariat.model.SessionWorkingGroup">
31 <div class="working-group__header">
32 <p class="working-group__header-title title-secondary">
33 ${workingGroupId}
34 </p>
35 </div>
36 </#if>
37
38 <select id="${randomNamespace}session-committee-select">
39 <#assign seeAllMeetingsUrl = bipmCommonsService.getSeeMoreLink(committeeId,workingGroupId)/>
40 <option value="">
41 <@liferay.language key="dropdown.label.select" />
42 </option>
43 <option value="${portalUtil.getHomeURL(request)}${seeAllMeetingsUrl}"><@liferay.language key="sessions.portlet.option.all.meetings" /></option>
44
45 <#list sortedEntries as entry>
46 <#if entry.getAssetRenderer()?has_content>
47 <#assign assetRenderer = entry.getAssetRenderer() />
48 <#assign className = assetRenderer.getClassName() />
49 <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) />
50 <#assign urlTitle = htmlUtil.escape(assetRenderer.getUrlTitle()) />
51 <#assign session = assetRenderer.getAssetObject() />
52
53 <option value="${portalUtil.getHomeURL(request)}${urlTitle}">
54 <#if className == "org.bipm.portal.service.secretariat.model.SessionCommittee">
55 <@liferay.language_format arguments="${session.nbr}${session.getOrdinalPrefix(locale)}" key="short-display-title-session"/>
56 <#if session.getText(locale)?has_content><#if committeeId == "CIPM"> ${session.getText(locale)}</#if></#if>
57 </#if>
58 <#if className == "org.bipm.portal.service.secretariat.model.SessionWorkingGroup">
59 ${session.getDisplayDate(locale)}
60 </#if>
61 </option>
62 </#if>
63 </#list>
64 </select>
65 <button class="btn btn-primary"
66 onclick="window.location.href = document.getElementById('${randomNamespace}session-committee-select').value;">
67 <@liferay.language key="view" />
68 </button>
69 </div>
70</#if>
Nous utilisons des cookies pour optimiser notre site internet. Politique de confidentialité