53 résultats
Résultats par page
angle-left Strasbier Fest - première édition du salon de la Bière Artisanale
Une erreur s'est produite lors du traitement du gabarit.
Java method "com.sun.proxy.$Proxy440.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy440 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@2402ea52"; 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 37, 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<@liferay_util["html-top"]> 
12    <meta property="og:title" content="${title.getData()?html}" /> 
13    <meta property="og:description" content="${chapo.getData()?replace("<[^>]*>", "", "r")?html}" /> 
14    <meta property="og:url" content="${currentUrl}" /> 
15    <meta property="og:image" content="${themeDisplay.getPortalURL()}${thumbnail.getData()}" /> 
16</@> 
17 
18<main class="seu-container" style="margin-bottom: 50px"> 
19    <div class="detail-line"> 
20        <div class="filler"></div> 
21        <p class="seu-published"> 
22           <@liferay_ui.message key="eu.published-on" /> ${.vars['reserved-article-display-date'].getData()?date('EEE, dd MMM yyyy hh:mm:ss Z')?string("dd/MM/yyyy")}  
23           - <@liferay_ui.message key="eu.modified-on" /> ${.vars['reserved-article-modified-date'].getData()?date('EEE, dd MMM yyyy hh:mm:ss Z')?string("dd/MM/yyyy")} 
24        </p> 
25        <a href="#" class="add-favorites" 
26            data-type="6"  
27            data-title="${title.getData()}"  
28            data-url="${currentUrl}"  
29            data-group-id=${themeDisplay.scopeGroupId} 
30            data-id="${.vars['reserved-article-id'].data}"> 
31            <span><@liferay_ui.message key="eu.add-to-favorite" /></span> 
32        </a> 
33    </div> 
34    <h1> 
35        ${title.getData()} 
36        <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
37        <#assign journalArticle = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data)> 
38        <#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
39        <#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', journalArticle.getResourcePrimKey()) > 
40        <#assign assetVocabularyHelper = serviceLocator.findService("eu.strasbourg.utils.api.AssetVocabularyHelperService") /> 
41        <#assign newsTypes = assetVocabularyHelper.getAssetEntryCategoriesByVocabulary(asset, "type d'actualite") /> 
42        <#if newsTypes?has_content> 
43            <p class="seu-event-categories"> 
44                <#list newsTypes as type> 
45                        <a href="${homeURL}actualite?_eu_strasbourg_portlet_search_asset_SearchAssetPortlet_categoriesIds=${type.getCategoryId()}&p_p_id=eu_strasbourg_portlet_search_asset_SearchAssetPortlet"> 
46                            ${type.getTitle(locale)} 
47                        </a> 
48                        <#sep>, </#sep> 
49                </#list> 
50            </p> 
51        </#if> 
52    </h1> 
53    <div class="hat"> 
54        <div> 
55            ${chapo.getData()} 
56        </div> 
57    </div> 
58    <div class="rte"> 
59        ${content.getData()} 
60    </div> 
61</main> 
62<#if image.getData()?has_content> 
63    <script> 
64        if ($('.region-banner').length == 0) { 
65            var bannerHtml = '<div class="region-banner"></div>'; 
66            $('.region-post-header').addClass('has-banner').prepend(bannerHtml); 
67
68    </script> 
69    <style> 
70        .region-banner { 
71            background-image: url(${image.getData()}) !important; 
72
73    </style> 
74</#if> 
75<style> 
76.search-asset-portlet, .page-header { 
77    display: none !important; 
78
79</style>