|
Untitled Seminario

other SEMINARIES ON-LINE

FritsJurgens pivot panels and doors
04 Dec 2019 | 16.00 - 18.00

The Project of Flexible Spaces. From Residential to Retail and Hotels (3rd edition)

Partner: FritsJurgens
SOLD OUT
30 May 2019 | 17.00 - 19.00

ENG Il Progetto degli spazi Flessibili. Dal Residenziale a Retail e Alberghi (2° edizione)

Partner: FritsJurgens
SOLD OUT
25 Mar 2019 | 17.00 - 19.00

Il Progetto degli spazi Flessibili. ENG

Partner: FritsJurgens
15 Jun 2020 |

Untitled Seminario

Partner: FritsJurgens
20 Oct 2020 |

Untitled Seminario

Partner: FritsJurgens
An error occurred while processing the template.
Error while invoking the "journal-article" JSP custom tag; see cause exception

----
FTL stack trace ("~" means nesting-related):
	- Failed at: @liferay_journal["journal-article"] a...  [in template "20101#20127#2766903" at line 101, column 34]
----
1<#-- 
2Mostro il titolo del portlet qui 
3--> 
4<#assign languageId = themeDisplay.getLanguageId()> 
5<#assign propertyKey = "portletSetupTitle_"+languageId> 
6 
7<#assign title = ""> 
8 
9<#if portletPreferences?has_content> 
10    <#list portletPreferences?keys as key> 
11     
12        <#if key == propertyKey> 
13            <#assign values = portletPreferences[key] /> 
14            <#if values?has_content> 
15                <#list values as value> 
16                    <#assign title = value> 
17                </#list> 
18            </#if> 
19        </#if> 
20     
21     </#list> 
22</#if> 
23 
24<#-- 
25Parto dal Seminario per recuperare gli assetEntries di questo articolo seminario. 
26Se trovo la Company, recupero gli assetEntries di quella company per trovare gli articoli arkitube correlati all'azienda 
27--> 
28 
29<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
30<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
31<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
32 
33<#if entries?has_content> 
34 
35    <div class="slider-content">  
36 
37    	<#list entries as curEntry> 
38    		 
39    		<#assign renderer = curEntry.getAssetRenderer() > 
40            <#assign className = renderer.getClassName() > 
41            <#if className == "com.liferay.journal.model.JournalArticle"> 
42                <#assign article = renderer.getArticle() > 
43                 
44                <#assign articleStructureKey = article.getDDMStructure().getStructureKey() /> 
45                 
46                 <#if articleStructureKey = "COMPANY-PROFILE"> 
47                  
48                    <#assign currentArticleResourcePrimKey = article.getResourcePrimKey() /> 
49                    <#assign currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey) /> 
50                    <#assign currentArticleAssetEntryId = currentArticleAssetEntry.getEntryId() /> 
51                    <#assign currentArticleRelatedLinks = assetLinkLocalService.getDirectLinks(currentArticleAssetEntryId) /> 
52                     
53                    <#-- SE MOSTRARE TITOLO --> 
54                     
55                    <#assign numArticles = 0 /> 
56                     
57                    <#list currentArticleRelatedLinks as related_entry> 
58                        <#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
59                        <#assign relatedAssetEntry = assetEntryLocalService.getEntry(relatedAssetEntryId) /> 
60                        <#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
61                        <#assign relatedArticle = journalArticleLocalService.fetchLatestArticle(relatedAssetEntryPrimKey)!'' /> 
62                         
63                        <#if relatedArticle?has_content> 
64                         
65                            <#assign relatedArticleStructureKey = relatedArticle.getDDMStructure().getStructureKey() /> 
66                            <#if relatedArticleStructureKey = "ARKITUBE-CONTENT"> 
67                                  
68 
69                                <#assign numArticles += 1 /> 
70                                  
71                            </#if> 
72                        </#if> 
73                         
74                    </#list> 
75                     
76                    <#-- FINE ----------------> 
77                     
78                    <#if (numArticles > 0) > 
79                        <h2 class="portlet-title-text">${title}</h2> 
80                    </#if> 
81                     
82                    <div class="content-main-article">  
83                    <div class="content-small-medum d-flex company-info-content"> 
84                    <div class="section-small company-info d-flex flex-wrap"> 
85         
86         
87                    <#list currentArticleRelatedLinks as related_entry> 
88                        <#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
89                        <#assign relatedAssetEntry = assetEntryLocalService.getEntry(relatedAssetEntryId) /> 
90                        <#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
91                        <#assign relatedArticle = journalArticleLocalService.fetchLatestArticle(relatedAssetEntryPrimKey)!'' /> 
92                        <#if relatedArticle?has_content> 
93                         
94                            <#assign relatedArticleStructureKey = relatedArticle.getDDMStructure().getStructureKey() /> 
95                            <#if relatedArticleStructureKey = "ARKITUBE-CONTENT"> 
96                                  
97                                 <div class="${relatedArticleStructureKey}"> 
98 
99                                 <a href="${assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, relatedAssetEntry, true)}"> 
100                                  
101                                 <@liferay_journal["journal-article"] 
102                                    articleId=relatedArticle.getArticleId() 
103                                    ddmTemplateKey="ARTICLE-CONTENT-LIST" 
104                                    groupId=relatedArticle.getGroupId()/> 
105                                     
106                                </a> 
107                                 
108                                </div> 
109 
110                            </#if> 
111                             
112                        </#if> 
113                    </#list> 
114                    </div></div></div> 
115                </#if> 
116    		</#if> 
117    	</#list> 
118	</div> 
119</#if>