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.$Proxy179.getFileEntry(long)" threw an exception when invoked on com.sun.proxy.$Proxy179 object "com.liferay.document.library.internal.service.SubscriptionDLAppLocalServiceWrapper@77c538bb"; 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 88, 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 contenutiConData = ["NOTIZIA_UNINDUSTRIA", "NOTIZIA_IMPRESE", "PROGETTO", "GUIDA", "PUBBLICAZIONE", "MEDIA_GALLERY", "COMUNICATO_STAMPA", "IMPRESE_ASSOCIATE"] /> 
37 
38<#assign 
39    start = searchContainer.getStart() 
40    end = searchContainer.getEnd() 
41    cur = searchContainer.getCur() 
42    delta = searchContainer.getDelta() 
43    total = searchContainer.getTotal() 
44    pageCount = (total / delta)?ceiling 
45/> 
46 
47<div class="unindustria-search-grid__header d-flex justify-content-between align-items-center"> 
48    <div> 
49        <#if total == 1> 
50            ${languageUtil.get(locale, "aire.we.found")} <strong>1 ${languageUtil.get(locale, "aire.found.result")}</strong> 
51        <#else> 
52            ${languageUtil.get(locale, "aire.we.found")} <strong>${total} ${languageUtil.get(locale, "aire.found.results")}</strong> 
53        </#if> 
54    </div> 
55</div> 
56<#if entries?has_content> 
57	<div class="unindustria-search-grid__results"> 
58        <div class="unindustria-search-grid__list"> 
59            <#list searchContainer.getResults() as doc> 
60 
61                <#assign detailURL = themeDisplay.getPortalURL() + doc.get("aire_detail_url") /> 
62                <#assign articleid = doc.get("articleId") /> 
63                <#assign structureKey = doc.get("ddmStructureKey") /> 
64                <#assign journalArticle = journalLocalService.getArticle(groupId, articleid) /> 
65                <#assign structureId = journalArticle.getDDMStructure().getStructureId() /> 
66                <#assign articlePrimKey = journalArticle.resourcePrimKey?number /> 
67                <#assign assetEntry = assetEntryLocalService.getEntry(className, articlePrimKey) /> 
68                <#assign classPK = assetEntry.getClassPK() /> 
69                <#assign categories = assetEntry.getCategories() /> 
70                <#assign tags = assetEntry.getTags() /> 
71 
72                <#assign categorieTema = [] /> 
73                <#assign categorieServizio = [] /> 
74				<#assign categorieSettore = [] /> 
75				<#list categories as category> 
76				    <#if category.getVocabularyId() == temaVocabularyId> 
77					    <#assign categorieTema = categorieTema + [category] /> 
78					</#if> 
79					<#if category.getVocabularyId() == servizioVocabularyId> 
80					    <#assign categorieServizio = categorieServizio + [category] /> 
81					</#if> 
82					<#if category.getVocabularyId() == settoreVocabularyId> 
83					    <#assign categorieSettore = categorieSettore + [category] /> 
84					</#if> 
85				</#list> 
86 
87                <div class="unindustria-search-grid__row"> 
88                    <#include "${templatesPath}/UNINDUSTRIA-CARD-SEARCH" /> 
89                </div> 
90 
91            </#list> 
92        </div> 
93	</div> 
94</#if> 
Mostrati 1 - 5 su 5 risultati.