55 résultats
Résultats par page
angle-left Un Weekend avec l’Europe à Strasbourg
Une erreur s'est produite lors du traitement du gabarit.
Java method "com.sun.proxy.$Proxy577.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy577 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@6cc6ac71"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign journalArticle = journalArtic...  [in template "20116#20160#1064299" at line 47, column 9]
----
1<#setting locale = locale /> 
2<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
3<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
4<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() /> 
5<#if !themeDisplay.scopeGroup.publicLayoutSet.virtualHostname?has_content || themeDisplay.scopeGroup.isStagingGroup()> 
6    <#assign homeURL = "/web${layout.group.friendlyURL}/" /> 
7<#else> 
8    <#assign homeURL = "/" /> 
9</#if> 
10 
11<#-- Récupération de DateHelper pour le format date --> 
12<#assign dateHelperService = serviceLocator.findService("eu.strasbourg.utils.api.DateHelperService") /> 
13 
14 <@liferay_util["html-top"]> 
15    <meta property="og:title" content="${title.getData()?html}" /> 
16    <meta property="og:description" content="${chapo.getData()?replace("<[^>]*>", "", "r")?html}" /> 
17    <meta property="og:url" content="${currentUrl}" /> 
18    <#assign imageUrl = themeDisplay.getPortalURL() + thumbnail.getData()?replace('@', "")?replace('cdn_hostroot_path', "") /> 
19    <#if imageUrl?has_content> 
20        <meta property="og:image" content="${imageUrl}"/> 
21        <meta property="og:image:width" content="620"/>  
22        <meta property="og:image:height" content="400"/> 
23    </#if> 
24</@> 
25 
26<main class="seu-container" style="margin-bottom: 50px"> 
27    <div class="detail-line"> 
28        <div class="filler"></div> 
29        <p class="seu-published"> 
30            <@liferay_ui.message key="eu.published-on" />  
31            ${dateHelperService.displayShortDate(dateHelperService.convertStringToDate(.vars['reserved-article-display-date'].getData(), "EEE, dd MMM yyyy hh:mm:ss Z"), locale)}  
32            - <@liferay_ui.message key="eu.modified-on" />  
33            ${dateHelperService.displayShortDate(dateHelperService.convertStringToDate(.vars['reserved-article-modified-date'].getData(), "EEE, dd MMM yyyy hh:mm:ss Z"), locale)}  
34        </p> 
35        <a href="#" class="add-favorites" 
36            data-type="6"  
37            data-title="${title.getData()}"  
38            data-url="${currentUrl}"  
39            data-group-id=${themeDisplay.scopeGroupId} 
40            data-id="${.vars['reserved-article-id'].data}"> 
41            <span><@liferay_ui.message key="eu.add-to-favorite" /></span> 
42        </a> 
43    </div> 
44    <h1> 
45        ${title.getData()} 
46        <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
47        <#assign journalArticle = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data)> 
48        <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
49        <#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', journalArticle.getResourcePrimKey()) > 
50        <#assign assetVocabularyHelper = serviceLocator.findService("eu.strasbourg.utils.api.AssetVocabularyHelperService") /> 
51        <#assign newsTypes = assetVocabularyHelper.getAssetEntryCategoriesByVocabulary(asset, "type d'actualite") /> 
52        <#if newsTypes?has_content> 
53            <p class="seu-event-categories"> 
54                <#list newsTypes as type> 
55                        <a href="${homeURL}actualite?_eu_strasbourg_portlet_search_asset_SearchAssetPortlet_categoriesIds=${type.getCategoryId()}&p_p_id=eu_strasbourg_portlet_search_asset_SearchAssetPortlet"> 
56                            ${type.getTitle(locale)} 
57                        </a> 
58                        <#sep>, </#sep> 
59                </#list> 
60            </p> 
61        </#if> 
62    </h1> 
63    <div class="hat"> 
64        <div> 
65            ${chapo.getData()} 
66        </div> 
67    </div> 
68    <div class="rte"> 
69        ${content.getData()} 
70    </div> 
71</main> 
72<#if image.getData()?has_content> 
73    <script> 
74        if ($('.region-banner').length == 0) { 
75            var bannerHtml = '<div class="region-banner"></div>'; 
76            $('.region-post-header').addClass('has-banner').prepend(bannerHtml); 
77
78    </script> 
79    <style> 
80        .region-banner { 
81            background-image: url(${image.getData()}) !important; 
82
83    </style> 
84</#if> 
85<style> 
86.search-asset-portlet, .page-header { 
87    display: none !important; 
88
89</style>