Biblioteca

Centro documentazione OMS

In rilievo

null Febbraio 2021 - Anno degli operatori sanitari e assistenziali
Si è verificato un errore nell'elaborarazione del modello.
No error description was specified for this error; low-level message: java.lang.ClassNotFoundException: com.liferay.journal.service.JournalArticleResourceLocalServiceUtil cannot be found by com.liferay.portal.template.freemarker_4.0.18

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign journalArticleResourceLocalSe...  [in template "20099#20135#5593107" at line 31, column 1]
----
1<#-- 
2Web content templates are used to lay out the fields defined in a web 
3content structure. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<!-- <style> 
9    .vocabulary-title{ 
10        margin-bottom:6px;     
11
12     
13    .badge-tassonomia{ 
14        background-color:#3CAEEB; 
15
16 
17    .a-tassonomia{ 
18        text-decoration:none; 
19
20 
21    .a-tassonomia:hover{ 
22        text-decoration:none; 
23
24 
25</style> --> 
26 
27 
28<#assign journalArticleId = .vars['reserved-article-id'].data> 
29<#assign groupId = themeDisplay.getLayout().getGroupId() /> 
30 
31<#assign journalArticleResourceLocalServiceUtil = staticUtil["com.liferay.journal.service.JournalArticleResourceLocalServiceUtil"]> 
32<#assign assetCategoryLocalServiceUtil = staticUtil["com.liferay.asset.kernel.service.AssetCategoryLocalServiceUtil"]> 
33 
34 
35<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 
36 
37<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) > 
38 
39<#assign assetVocabularyLocalService = staticUtil["com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil"]> 
40 
41<#assign dic_list=[] /> 
42 
43 
44<div class="doc doc-detail"> 
45	<article class="doc-content"> 
46 
47 
48		<div class="doc-bd"> 
49 
50		    <div class="doc-bd-section"> 
51			 
52 
53		    <#if Immagine?? && Immagine.getData()?? && Immagine.getData() != ""> 
54		     
55		    <#if Immagine.ImgPos.getData() == 'r'> 
56				<#assign ImgClass = "r-img"> 
57			<#elseif Immagine.ImgPos.getData() == 'l'> 
58				<#assign ImgClass = "l-img"> 
59			<#else> 
60				<#assign ImgClass = "c-img"> 
61			</#if> 
62			 
63    		    <div class="doc-bd-fig ${ImgClass}"> 
64    				<img data-fileentryid="${Immagine.getAttribute("fileEntryId")}" alt="" src="${Immagine.getData()}" class="img-fluid iss-art-base-img" /> 
65    			</div><!-- /fig --> 
66			</#if> 
67			 
68				<div class="doc-bd-txt"> 
69				<#if Contenuto?? > 
70					<div class="iss-art-base-content"> 
71					    <p> 
72                         
73					    ${Contenuto.getData()} 
74					    </p> 
75			    	</div><!-- /e-content --> 
76			    </#if> 
77				</div><!-- /doc-bd-txt --> 
78		    </div><!-- doc-bd-section --> 
79 
80		</div><!-- /doc-bd --> 
81	<br>	 
82    <aside class="doc-aside"> 
83    <#if Documento.getSiblings()?has_content> 
84	<#assign view_allegati = ""> 
85	<#list Documento.getSiblings() as cur_Documento> 
86	<#if cur_Documento.getData()?has_content> 
87	    <#assign view_allegati = "vedi"> 
88	      
89	</#if> 
90	 
91	</#list> 
92	 
93	    <#list categoryList as cat> 
94        <#assign v =  assetVocabularyLocalService.getAssetVocabulary(cat.vocabularyId) /> 
95    
96    
97       <#if !dic_list?seq_contains(v.name)> 
98            <hr> 
99         <!--  <p class="vocabulary-title" ><b>${v.name}</b></p>  --> 
100           <#assign dic_list += [v.name]> 
101       </#if> 
102      <!-- <span> 
103     
104        <a href="/Categorie?p_r_p_categoryId=${cat.categoryId}" class="a-tassonomia" target="_blank" > 
105            <span class="badge badge-primary badge-tassonomia">${cat.getName()}</span> 
106        </a> 
107       </span> --> 
108    </#list> 
109	 
110	 
111	 
112	<#if view_allegati == "vedi"> 
113	<div class="doc-subsec doc-subsec--downloads" id="doc-downloads"> 
114	<h2 class="portlet-title-text portlet-title-editable">Allegati</h2> 
115		<div class="c-list"> 
116			<table class="table"> 
117			<#list Documento.getSiblings() as cur_Documento> 
118			    <#if cur_Documento.getData()?has_content> 
119					<tbody> 
120			        <tr class="iss-attach-table-tr"> 
121			            <td class="iss-attach-table-td" > 
122		            <#assign cont = 0> 
123		            <#assign nomeFile = "Documento"> 
124		            <#list cur_Documento.getData()?split("/") as sValue> 
125		            
126		          
127		            <#if cur_Documento.NomeAllegato?? && cur_Documento.NomeAllegato.getData()?? && cur_Documento.NomeAllegato.getData()?has_content> 
128		                <#assign nomeFile = cur_Documento.NomeAllegato.getData()> 
129		            <#else>       
130    		            <#if cont == 4> 
131    		                <#assign nomeFile = sValue> 
132    		            </#if> 
133    		        </#if> 
134		            
135		          <#assign cont = cont+1> 
136		     </#list> 
137		        
138				    <a class="iss-attach-file-a" href="${cur_Documento.getData()}"> 
139					<span class="iss-attach-file" >  <i class="fas fa-paperclip"></i>&nbsp;&nbsp; ${nomeFile}</span> 
140						</a> 
141					</td> 
142				  </tr> 
143				</#if> 
144			</#list> 
145			</tbody> 
146			</table> 
147		</div><!-- /c-list --> 
148	</div><!-- /doc-subsec --> 
149	</#if> 
150</#if> 
151</aside> 
152 
153	</article><!-- /doc-content --> 
154</div><!-- /doc -->