Intestazione e Note

Piano triennale della Cooperazione Internazionale

fase 3 di 4: Discussione delle proposte e redazione di un documento di orientamento della cooperazione internazionale toscana

Notizie

Si è verificato un errore nell'elaborarazione del modello.
Can't convert this string to number: ""
The blamed expression:
==> docDataJson.getString("groupId")?number  [in template "10155#10195#2755994" at line 44, column 87]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: gid = docDataJson.getString("groupId"...  [in template "10155#10195#2755994" at line 44, column 81]
	- Reached through: #assign-container  [in template "10155#10195#2755994" at line 41, column 58]
----
1<#assign  
2	fileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
3	textFormatter = staticUtil["com.liferay.portal.kernel.util.TextFormatter"] 
4/> 
5<#-- Titolo --> 
6<div class="container rt-container rt-container--white rt-container--proposta-top"> 
7    <div class="row rt-proposta-top"> 
8        <div class="col-md-12"> 
9            <h2 class="rt-proposta-top__title">${.vars['reserved-article-title'].data}</h2> 
10        </div> 
11    </div> 
12</div> 
13<#-- ./END Titolo --> 
14<div class="container rt-container rt-container--white rt-container--proposta-content"> 
15    <div class="row"> 
16        <!-- 1 --> 
17        <div class="col-md-12 col-lg-8 rt-col-half"> 
18            <#-- Portlet page content --> 
19            <div class="rt-page__content"> 
20                ${Contenuto.getData()} 
21            </div> 
22            <#-- ./END Portlet page content --> 
23        </div> 
24        <!-- END // 1 --> 
25        <!-- 2 --> 
26        <div class="col-md-12 col-lg-4 rt-col-half"> 
27            <!-- Condividi --> 
28            <a id="sharebtn" aria-label="Condividi il contenuto" title="Condividi il contenuto" class="rt-btn rt-btn-light rt-btn-border rt-btn-full" href=""> 
29                <span class="rt-btn-round__label">Condividi</span> <i class="fas fa-share"></i> 
30            </a> 
31            <!-- ./END Condividi --> 
32			 <#if (Materiale.getSiblings()?has_content && Materiale.getSiblings()?first.data?has_content) > 
33			 <div class="rt-wrapper"> 
34				<div class="rt-container"> 
35					<section class="rt-section rt-section--box rt-section--box-row rt-section--materiali rt-section--box-col-2" aria-label="Sezione feed da Toscana Notizie"> 
36						<div class="rt-section-title-wrapper has-border has-button"> 
37							<h2 class="rt-section-title">Materiali</h2> 
38						</div> 
39			                <#list Materiale.getSiblings() as cur_Documenti> 
40				                <#if cur_Documenti.getData()??> 
41				                	 <#assign jsonFactoryUtil = staticUtil["com.liferay.portal.kernel.json.JSONFactoryUtil"] 
42			                            docData = cur_Documenti.data 
43			                            docDataJson = jsonFactoryUtil.createJSONObject(docData) 
44										gid = docDataJson.getString("groupId")?number 
45										fid = docDataJson.getString("classPK") 
46										fileTitle = docDataJson.getString("title") 
47										decoder = staticUtil["java.net.URLDecoder"] 
48										fileTitle = decoder.decode(fileTitle, "UTF-8") 
49										uuid = docDataJson.getString("uuid") 
50										 
51										fileEntry = fileEntryLocalService.getDLFileEntryByUuidAndGroupId(uuid, gid) 
52									  /> 
53									   
54 
55					                <div class="rt-box rt-box--tool"> 
56								        <div class="rt-box__header"> 
57								            <div class="rt-box__wrapper"> 
58								     
59								                <div class="rt-box__title"> 
60								                    <a href="${cur_Documenti.getData()}" target="_blank" aria-label="Vedi/scarica allegato ${fileTitle}" title="Vedi/scarica allegato ${fileTitle}"> 
61								                        ${fileTitle} 
62								                    </a> 
63								                </div> 
64								            </div> 
65								     
66								            <div class="rt-box__icon"> 
67								                <a href="${cur_Documenti.getData()}" target="_blank" aria-label="Vedi/scarica allegato ${fileTitle}" title="Vedi/scarica allegato ${fileTitle}"> 
68								                <i aria-hidden="true" class="far fa-download"></i> 
69								                </a> 
70								            </div> 
71								        </div> 
72								     
73								    	<#if fileEntry.getDescription()??> 
74								    		 <div class="rt-box__text"> 
75								                ${fileEntry.getDescription()} 
76								      		</div> 
77								    	</#if> 
78								        
79								        <#assign  
80											modified_date = dateUtil.getDate(fileEntry.getCreateDate(), "dd.MM.yyyy", locale) 
81										/> 
82								        
83								        <div class="rt-box__footer"> 
84								            <div class="rt-box__date-published">${modified_date}</div> 
85								        </div> 
86								     
87								    </div> 
88			                	</#if> 
89			                </#list> 
90					</section> 
91				</div> 
92			</div> 
93			</#if> 
94		</div> 
95	</div> 
96</div>