Convegni

Si è verificato un errore nell'elaborarazione del modello.
The string doesn't match the expected date/time/date-time format. The string to parse was: "{\"groupId\":\"20126\",\"title\":\"Domanda_Iscrizione_plus_poster_e_istruzioni.doc\",\"type\":\"document\",\"uuid\":\"2892d27a-7db6-bdfc-f510-8f75c084209b\"}". The expected format was: "yyyy-MM-dd".
The nested reason given follows:
Unparseable date: "{"groupId":"20126","title":"Domanda_Iscrizione_plus_poster_e_istruzioni.doc","type":"document","uuid":"2892d27a-7db6-bdfc-f510-8f75c084209b"}"

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign ds = data_scadenza?datetime("...  [in template "20099#20135#5283106" at line 73, column 9]
----
1<#-- 
2Application display templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8 
9<style> 
10    .formazione-adt{ 
11        font-family:'Titillium Web' 
12
13     
14    .formazione-down{ 
15        color:grey;     
16
17     
18</style> 
19 
20<div class="row" class="formazione-adt">  
21<div class="col-md-12"> 
22<#if entries?has_content>  
23    <#list entries as curEntry> 
24        
25       <h5 class="iss-adt-ufficio-stampa-title" >  
26         <#assign titolo = curEntry.getTitle(locale) /> 
27         <span style="color:#189ee7;" >${titolo}</span> 
28        </h5> 
29               
30       <!--DATA --> 
31       <#-- <span class="iss-adt-ufficio-stampa-data" ><i class="far fa-clock"></i> ${curEntry.getAssetRenderer().getDisplayDate()?date?string["dd/MM/yyyy"]}</span>--> 
32         
33        <#setting locale="it_IT"> 
34        <#setting date_format="dd-MM-yyyy"> 
35         
36        <#assign fields =curEntry.getAssetRenderer().getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() 
37            data_inizio = fields[0].getValue().getString(locale) 
38            data_fine = fields[1].getValue().getString(locale) 
39            crediti_ecm = fields[2].getValue().getString(locale) 
40            referente = fields[3].getValue().getString(locale) 
41            email = fields[4].getValue().getString(locale) 
42            indirizzo = fields[5].getValue().getString(locale) 
43            tel = fields[6].getValue().getString(locale) 
44            fax=fields[7].getValue().getString(locale) 
45            codice = fields[8].getValue().getString(locale) 
46            costo =  fields[9].getValue().getString(locale) 
47            
48             
49            <!--sommario--> 
50            summary = curEntry.getSummary(locale) 
51        /> 
52    
53    <#if fields[10]?? &&  fields[10].getValue()?has_content > 
54       <#assign data_scadenza = fields[10].getValue().getString(locale) > 
55     <#else> 
56         <#assign data_scadenza = "" > 
57    </#if> 
58     
59     
60     <#assign di = ""> 
61     <#assign df = ""> 
62     <#assign ds = ""> 
63      <#if data_inizio?? && data_inizio?has_content> 
64        <#assign di = data_inizio?datetime("yyyy-MM-dd")?date > 
65      </#if> 
66      <#if data_fine?? && data_fine?has_content > 
67        <#assign df = data_fine?datetime("yyyy-MM-dd")?date > 
68      <#else> 
69         
70      </#if> 
71       
72     <#if data_scadenza?? && data_scadenza?has_content > 
73        <#assign ds = data_scadenza?datetime("yyyy-MM-dd")?date > 
74      <#else> 
75        <#assign ds = " - " > 
76      </#if> 
77       
78      <#if tel?? && tel?has_content> 
79        
80      <#else> 
81       <#assign tel = " - "> 
82      </#if> 
83       
84      <#if fax?? && fax?has_content> 
85        
86      <#else> 
87       <#assign  fax = " - "> 
88      </#if> 
89       
90      <#if indirizzo?? && indirizzo?has_content> 
91        
92      <#else> 
93       <#assign  indirizzo = " - "> 
94      </#if> 
95       
96       <#if costo?? && costo?has_content> 
97        
98      <#else> 
99       <#assign  costo = " - "> 
100      </#if> 
101       
102      <span class="iss-adt-ufficio-stampa-data" ><i class="far fa-clock"></i> ${di}  
103      <#if data_fine?? && data_fine?has_content > - ${df} </#if> 
104      </span><br> 
105      <span><b>Codice: </b> ${codice}</span><br> 
106      <span><b>Scadenza iscrizione:</b> ${ds}</span><br> 
107      <span><b>Crediti ECM:</b> ${crediti_ecm}</span><br> 
108      <span><b>Contattare:</b> ${referente} (${email})</span><br> 
109      <span><b>Telefono:</b> ${tel}, <b>Fax</b>: ${fax}</span>  <br> 
110      <span><b>Sede di svolgimento:</b> ${indirizzo}</span><br> 
111      <span><b>Quota di iscrizione:</b> ${costo} </span><br> 
112      <#if summary?? && summary?has_content> 
113       <span>${summary}</span> 
114      <#else> 
115        <p></p>  
116      </#if> 
117       
118      <#assign  
119            assetRenderer = curEntry.getAssetRenderer() 
120            journalArticle = assetRenderer.getArticle() 
121            document = saxReaderUtil.read(journalArticle.getContent()) 
122            rootElement = document.getRootElement()  
123            preferences = rootElement.elements("documents") 
124            doc1 = document.selectSingleNode("/root/dynamic-element[@name='Iscrizione']/dynamic-content[@language-id='it_IT']")  
125            doc2 = document.selectSingleNode("/root/dynamic-element[@name='Scheda']/dynamic-content[@language-id='it_IT']") 
126             doc3 = document.selectSingleNode("/root/dynamic-element[@name='Programma']/dynamic-content[@language-id='it_IT']") 
127 
128
129             
130             
131          
132            
133           <#if doc1?? && doc1.getText()?has_content > 
134              <#assign doc = doc1.getText()?eval 
135                       group_id=doc.groupId 
136                       title = doc.title 
137                       uuid = doc.uuid 
138
139         
140               <#assign url_doc1 = "/documents/"+group_id+"/0/"+title+"/"+uuid >    
141                
142               <#if group_id?? && group_id?has_content && title?? && title?has_content &&  
143               uuid?? && uuid?has_content> 
144                <a href="${url_doc1}" class="formazione-down" ><i class="fas fa-paperclip"></i> <span>Iscrizione</span></a><br> 
145               </#if> 
146 
147           </#if> 
148            
149            
150            <#if doc2?? && doc2.getText()?has_content > 
151              <#assign doc = doc2.getText()?eval 
152                       group_id=doc.groupId 
153                       title = doc.title 
154                       uuid = doc.uuid 
155
156         
157               <#assign url_doc2 = "/documents/"+group_id+"/0/"+title+"/"+uuid >    
158                
159               <#if group_id?? && group_id?has_content && title?? && title?has_content &&  
160               uuid?? && uuid?has_content> 
161                <a href="${url_doc2}" class="formazione-down" ><i class="fas fa-paperclip"></i> <span>Scheda</span></a><br> 
162               </#if> 
163 
164           </#if> 
165            
166           <#if doc3?? && doc3.getText()?has_content > 
167              <#assign doc = doc3.getText()?eval 
168                       group_id=doc.groupId 
169                       title = doc.title 
170                       uuid = doc.uuid 
171
172         
173               <#assign url_doc3 = "/documents/"+group_id+"/0/"+title+"/"+uuid >    
174                
175               <#if group_id?? && group_id?has_content && title?? && title?has_content &&  
176               uuid?? && uuid?has_content> 
177                <a href="${url_doc3}" class="formazione-down" ><i class="fas fa-paperclip"></i> <span>Programma</span></a><br> 
178               </#if> 
179 
180           </#if> 
181 
182      <hr> 
183    </#list> 
184</#if> 
185<div>  
186<div>