Ricerca
Tipo contenuto
  • (5)
Data
Da
a
Tema
  • (3)
  • (2)
  • (1)
Gruppo o club
  • (1)
  • (1)
Tipologia notizia
  • (5)
Si è verificato un errore nell'elaborarazione del modello.
Java method "com.sun.proxy.$Proxy182.getFileEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy182 object "com.liferay.document.library.internal.service.SubscriptionDLAppLocalServiceWrapper@31c00a2d"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign fileEntry = dlAppLocalService...  [in template "UNINDUSTRIA-CARD-SEARCH" at line 26, column 13]
	- Reached through: #include "${templatesPath}/UNINDUSTRI...  [in template "20097#20123#38055" at line 93, column 21]
----
1<#include "${templatesPath}/MACRO-UNINDUSTRIA" /> 
2 
3<@liferay_aui.script require="intranet-aire-lfr-configuration-js@1.0.0/js/intranet-lfr-configuration.es"> 
4	AUI().on('domready', function(event){ 
5		var lfrConfiguration = new intranetAireLfrConfigurationJs100JsIntranetLfrConfigurationEs.default(); 
6		lfrConfiguration.applySelectFacet(); 
7		lfrConfiguration.initFacetSelected(); 
8	}); 
9</@liferay_aui.script> 
10 
11<script type="text/template" id="template-selected-facet"> 
12	<div class="unindustria-search-grid__badge flex-wrap d-inline-flex clearFacet" data-facet-id="{{= facetName}}" data-facet-value="{{= dataTermId}}"> 
13    	<button title="${languageUtil.get(locale, "aire.facet.filter.remove")} {{= dataTermLabel}}" aria-label="{{= dataTermLabel}}"> 
14   			{{= dataTermLabel}} 
15    		<svg class="ico-svg"> 
16    			<use xlink:href="${themeDisplay.getPathThemeImages()}/assets/images/icons.svg#times-light"></use> 
17    		</svg> 
18	    </button> 
19    </div> 
20</script> 
21 
22<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
23<#assign className = 'com.liferay.journal.model.JournalArticle' /> 
24<#assign journalLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
25<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
26<#assign assetCategoryPropertyLocalService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
27<#assign dlAppLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService") /> 
28<#assign dlURLHelper = serviceLocator.findService("com.liferay.document.library.util.DLURLHelper") /> 
29<#assign unindustriaConfiguration = serviceLocator.findService("it.ariadne.aire.configuration.api.UnindustriaConfigurationApi") /> 
30<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
31<#assign languageId = themeDisplay.getLanguageId() /> 
32<#assign themeIconsPath = themeDisplay.getPathThemeImages() + '/assets/images/icons.svg' /> 
33<#assign temaVocabularyId = unindustriaConfiguration.getTemaVocabularyId() /> 
34<#assign servizioVocabularyId = unindustriaConfiguration.getServizioVocabularyId() /> 
35<#assign settoreVocabularyId = unindustriaConfiguration.getSettoreVocabularyId() /> 
36<#assign gruppoClubVocabularyId = unindustriaConfiguration.getGruppoVocabularyId() /> 
37<#assign contenutiConData = ["NOTIZIA_UNINDUSTRIA", "NOTIZIA_IMPRESE", "PROGETTO", "GUIDA", "PUBBLICAZIONE", "MEDIA_GALLERY", "COMUNICATO_STAMPA", "IMPRESE_ASSOCIATE"] /> 
38 
39<#assign 
40    start = searchContainer.getStart() 
41    end = searchContainer.getEnd() 
42    cur = searchContainer.getCur() 
43    delta = searchContainer.getDelta() 
44    total = searchContainer.getTotal() 
45    pageCount = (total / delta)?ceiling 
46/> 
47 
48<div class="unindustria-search-grid__header d-flex justify-content-between align-items-center"> 
49    <div> 
50        <#if total == 1> 
51            ${languageUtil.get(locale, "aire.we.found")} <strong>1 ${languageUtil.get(locale, "aire.found.result")}</strong> 
52        <#else> 
53            ${languageUtil.get(locale, "aire.we.found")} <strong>${total} ${languageUtil.get(locale, "aire.found.results")}</strong> 
54        </#if> 
55    </div> 
56</div> 
57<#if entries?has_content> 
58	<div class="unindustria-search-grid__results"> 
59        <div class="unindustria-search-grid__list"> 
60            <#list searchContainer.getResults() as doc> 
61 
62                <#assign detailURL = themeDisplay.getPortalURL() + doc.get("aire_detail_url") /> 
63                <#assign articleid = doc.get("articleId") /> 
64                <#assign structureKey = doc.get("ddmStructureKey") /> 
65                <#assign journalArticle = journalLocalService.getArticle(groupId, articleid) /> 
66                <#assign structureId = journalArticle.getDDMStructure().getStructureId() /> 
67                <#assign articlePrimKey = journalArticle.resourcePrimKey?number /> 
68                <#assign assetEntry = assetEntryLocalService.getEntry(className, articlePrimKey) /> 
69                <#assign classPK = assetEntry.getClassPK() /> 
70                <#assign categories = assetEntry.getCategories() /> 
71                <#assign tags = assetEntry.getTags() /> 
72 
73                <#assign categorieTema = [] /> 
74                <#assign categorieServizio = [] /> 
75				<#assign categorieSettore = [] /> 
76                <#assign categorieGruppoClub = [] /> 
77				<#list categories as category> 
78				    <#if category.getVocabularyId() == temaVocabularyId> 
79					    <#assign categorieTema = categorieTema + [category] /> 
80					</#if> 
81					<#if category.getVocabularyId() == servizioVocabularyId> 
82					    <#assign categorieServizio = categorieServizio + [category] /> 
83					</#if> 
84					<#if category.getVocabularyId() == settoreVocabularyId> 
85					    <#assign categorieSettore = categorieSettore + [category] /> 
86					</#if> 
87					<#if category.getVocabularyId() == gruppoClubVocabularyId> 
88						<#assign categorieGruppoClub = categorieGruppoClub + [category] /> 
89					</#if> 
90				</#list> 
91 
92                <div class="unindustria-search-grid__row"> 
93                    <#include "${templatesPath}/UNINDUSTRIA-CARD-SEARCH" /> 
94                </div> 
95 
96            </#list> 
97        </div> 
98	</div> 
99</#if> 
Mostrati 1 - 5 su 5 risultati.