Convegni e seminari
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> request.getParameter("p_r_p_categoryId") [in template "10664768" at line 68, column 57]
----
Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign idCategoryFromUrl = request.g... [in template "10664768" at line 68, column 29]
- Reached through: #include "${templatesPath}/10664768" [in template "20099#20135#6604215" at line 86, column 1]
----
1<#--
2Widget 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<#--
10Application display templates can be used to modify the look of a
11specific application.
12
13Please use the left panel to quickly add commonly used variables.
14Autocomplete is also available and can be invoked by typing "${".
15-->
16
17<style>
18 .formazione-adt{
19 font-family:'Titillium Web'
20 }
21
22 .formazione-down{
23 color:grey;
24 margin-left:5px;
25 }
26
27 .convegni-formazione-main{
28 padding-top:20px;
29 padding-bottom:20px;
30 box-shadow: 0 3px 20px -2px rgb(20 45 100 / 10%);
31 background: #fff;
32 border-radius: 5px;
33 margin-bottom:20px;
34 border-top:3px solid #3CAEEB;
35 }
36
37 .fa-convegni-icon{
38 color:#3CAEEB;
39 width:10%;
40 }
41
42 .flex-container{
43 display:flex !important;
44 text-align:left !important;
45 margin-bottom:7px !important;
46 }
47
48 .summari-par p{
49 text-align:left;
50 text-style:oblique;
51 font-size:15px;
52 }
53
54 .summari-par a{
55 color:#3CAEEB;
56 }
57
58 .summari-par a:hover{
59 color:#3CAEEB;
60 }
61
62 .summary-par-bck{
63 padding:10px;
64 border-radius:5px;
65 background-color:#F4FBFE;
66 padding:15px;
67 height:100%;
68 }
69
70 .convegni-text{
71 margin-left:5px;
72 width:90%;
73 }
74
75 .summary-par-header{
76 color:#5b6671;
77 }
78
79 .accent-tilde{
80 color:#212529;
81 font-weight:bold;
82 }
83</style>
84
85<!--Filtro per Categorie-->
86<#include "${templatesPath}/10664768">
87
88
89<div class="row" class="formazione-adt">
90<div class="col-md-12">
91<#if entries?has_content>
92
93<#list entries as curEntry>
94<div class="convegni-formazione-main" >
95
96 <!--DATA -->
97 <#-- <span class="iss-adt-ufficio-stampa-data" ><i class="far fa-clock"></i> ${curEntry.getAssetRenderer().getDisplayDate()?date?string["dd/MM/yyyy"]}</span>-->
98
99 <#setting locale="it_IT">
100 <#setting date_format="dd-MM-yyyy">
101
102 <#assign fields =curEntry.getAssetRenderer().getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues()
103 data_inizio = fields[0].getValue().getString(locale)
104 data_fine = fields[1].getValue().getString(locale)
105 crediti_ecm = fields[2].getValue().getString(locale)
106 referente = fields[3].getValue().getString(locale)
107 email = fields[4].getValue().getString(locale)
108 indirizzo = fields[5].getValue().getString(locale)
109 tel = fields[6].getValue().getString(locale)
110 fax=fields[7].getValue().getString(locale)
111 codice = fields[8].getValue().getString(locale)
112 costo = fields[9].getValue().getString(locale)
113 <!--sommario-->
114 summary = curEntry.getSummary(locale)
115 />
116
117 <!-- Marina test custom fields -->
118 <#assign renderer=curEntry.getAssetRenderer()>
119 <#assign article=renderer.getArticle()>
120
121 <#assign ds = "">
122 <#if fields[10]?? && fields[10].getValue()?has_content >
123 <#attempt>
124 <#assign data_scadenza = fields[10].getValue().getString(locale) >
125
126 <#if data_scadenza?? && data_scadenza?has_content >
127 <#assign ds = data_scadenza?datetime("yyyy-MM-dd")?date >
128 </#if>
129 <#recover>
130 <#assign ds = "" > <#-- qua cera "mi incazzo" -->
131 </#attempt>
132 <#else>
133 <#assign ds = "" >
134 </#if>
135
136
137 <#assign di = "">
138 <#assign df = "">
139
140 <#if data_inizio?? && data_inizio?has_content>
141 <#assign di = data_inizio?datetime("yyyy-MM-dd")?date >
142 </#if>
143 <#if data_fine?? && data_fine?has_content >
144 <#assign df = data_fine?datetime("yyyy-MM-dd")?date >
145 <#else>
146
147 </#if>
148
149 <#if tel?? && tel?has_content><#else>
150 <#assign tel = " - ">
151 </#if>
152
153 <#if fax?? && fax?has_content><#else>
154 <#assign fax = " - ">
155 </#if>
156
157 <#if indirizzo?? && indirizzo?has_content>
158
159 <#else>
160 <#assign indirizzo = " - ">
161 </#if>
162
163 <#if costo?? && costo?has_content>
164
165 <#else>
166 <#assign costo = " - ">
167 </#if>
168
169 <div class="row">
170 <div class="col-md-12" style="padding-left:15px;padding-right:15px;" >
171 <h6 class="iss-adt-ufficio-stampa-title" >
172 <#assign titolo = curEntry.getTitle(locale) />
173 <span style="color:#212529;" ><b>${titolo}</b></span>
174 </h6>
175 <br>
176 </div>
177 </div>
178
179 <div class="row" >
180 <div class="col-xl-7" >
181 <p class="flex-container" >
182 <span class="fa-stack fa-sm fa-convegni-icon">
183 <i class="fa fa-circle fa-stack-2x"></i>
184 <i class="fa fa-address-card fa-stack-1x fa-inverse"></i>
185 </span>
186 <span class="convegni-text" >Codice <b>${codice}</b></span>
187 </p>
188
189 <p class="flex-container" >
190 <span class="fa-stack fa-sm fa-convegni-icon">
191 <i class="fa fa-circle fa-stack-2x"></i>
192 <i class="fa fa-clock fa-stack-1x fa-inverse"></i>
193 </span>
194 <span class="convegni-text" >
195 Dal ${di} al <#if data_fine?? && data_fine?has_content > ${df} <#else> - </#if>
196 <#if ds?? && ds?has_content >
197 <b> (Iscrizione valida fino al ${ds})</b>
198 </#if>
199 </span>
200 </p>
201
202 <p class="flex-container" >
203 <span class="fa-stack fa-sm fa-convegni-icon">
204 <i class="fa fa-circle fa-stack-2x"></i>
205 <i class="fa fa-credit-card fa-stack-1x fa-inverse"></i>
206 </span>
207 <span class="convegni-text" >${crediti_ecm} Crediti ECM </span>
208 </p>
209
210 <p class="flex-container" >
211 <span class="fa-stack fa-sm fa-convegni-icon">
212 <i class="fa fa-circle fa-stack-2x"></i>
213 <i class="fa fa-user fa-stack-1x fa-inverse"></i>
214 </span>
215 <span class="convegni-text" ><b>Ref.</b> ${referente} (${email})</span>
216 </p>
217
218 <#assign
219 assetRenderer = curEntry.getAssetRenderer()
220 journalArticle = assetRenderer.getArticle()
221 document = saxReaderUtil.read(journalArticle.getContent())
222 rootElement = document.getRootElement()
223 preferences = rootElement.elements("documents")
224 doc1 = document.selectSingleNode("/root/dynamic-element[@name='Iscrizione']/dynamic-content[@language-id='it_IT']")
225 doc2 = document.selectSingleNode("/root/dynamic-element[@name='Scheda']/dynamic-content[@language-id='it_IT']")
226 doc3 = document.selectSingleNode("/root/dynamic-element[@name='Programma']/dynamic-content[@language-id='it_IT']")
227
228 >
229
230 <p class="flex-container" >
231 <span class="fa-stack fa-sm fa-convegni-icon">
232 <i class="fa fa-circle fa-stack-2x"></i>
233 <i class="fa fa-phone-alt fa-stack-1x fa-inverse"></i>
234 </span>
235 <span class="convegni-text" ><b>Telefono:</b> ${tel} <b>Fax</b>: ${fax}</span>
236 </p>
237 <p class="flex-container" >
238 <span class="fa-stack fa-sm fa-convegni-icon">
239 <i class="fa fa-circle fa-stack-2x"></i>
240 <i class="fa fa-map-marker-alt fa-stack-1x fa-inverse"></i>
241 </span>
242 <span class="convegni-text" >${indirizzo}</span>
243 </p>
244 <p class="flex-container" >
245 <span class="fa-stack fa-sm fa-convegni-icon">
246 <i class="fa fa-circle fa-stack-2x"></i>
247 <i class="fa fa-pencil-alt fa-stack-1x fa-inverse"></i>
248 </span>
249 <span class="convegni-text" ><b>Iscrizione: </b> ${costo}</span>
250 </p>
251
252 <p class="flex-container" >
253 <span class="fa-stack fa-sm fa-convegni-icon">
254 <i class="fa fa-circle fa-stack-2x"></i>
255 <i class="fa fa-paperclip fa-stack-1x fa-inverse"></i>
256 </span>
257 <#assign iscrizione = false
258 scheda = false />
259
260 <#if doc1?? && doc1.getText()?has_content >
261 <#assign doc = doc1.getText()?replace("\\/", "/")?eval>
262
263 <#if doc?? && doc['groupId'] ?? >
264 <#assign group_id= doc.groupId
265 title = doc.title
266 uuid = doc.uuid />
267
268 <#assign url_doc1 = "/documents/"+group_id+"/0/"+title+"/"+uuid >
269
270 <#if group_id?? && group_id?has_content && title?? && title?has_content &&
271 uuid?? && uuid?has_content>
272 <#assign iscrizione = true />
273 <a href="${url_doc1}" class="formazione-down" ><span> Iscrizione </span></a>
274 </#if>
275 </#if>
276 </#if>
277
278 <#if doc2?? && doc2.getText()?has_content >
279 <#assign doc = doc2.getText()?replace("\\/", "/")?eval >
280
281 <#if doc?? && doc['groupId']?? >
282 <#assign group_id=doc.groupId
283 title = doc.title
284 uuid = doc.uuid />
285
286 <#assign url_doc2 = "/documents/"+group_id+"/0/"+title+"/"+uuid >
287 <#if group_id?? && group_id?has_content && title?? && title?has_content &&
288 uuid?? && uuid?has_content>
289 <#assign scheda = true />
290 <a href="${url_doc2}" class="formazione-down" ><#if iscrizione == true ><span class="accent-tilde" > ~ </span> </#if> <span>Scheda</span></a>
291 </#if>
292 </#if>
293 </#if>
294
295 <#if doc3?? && doc3.getText()?has_content >
296 <#assign doc = doc3.getText()?replace("\\/", "/")?eval >
297 <#if doc?? && doc['groupId']?? >
298 <#assign group_id=doc.groupId
299 title = doc.title
300 uuid = doc.uuid />
301
302 <#assign url_doc3 = "/documents/"+group_id+"/0/"+title+"/"+uuid >
303 <#if group_id?? && group_id?has_content && title?? && title?has_content &&
304 uuid?? && uuid?has_content>
305 <a href="${url_doc3}" class="formazione-down" ><#if (scheda == true || iscrizione == true) ><span class="accent-tilde" > ~ </span></#if> <span>Programma</span></a>
306 </#if>
307 </#if>
308 </#if>
309 </p>
310 </div>
311
312 <div class="col-xl-5 summari-par" style="padding-left:15px;padding-right:15px;" >
313 <div class="summary-par-bck" >
314 <span class="summary-par-header"><i class="fas fa-info-circle"></i> <b>Info</b> </span><br><br>
315 <#if summary?? && summary?has_content>
316 ${summary}
317 <#else>
318 <p>Nessuna nota aggiuntiva</p>
319 </#if>
320 </div>
321 </div>
322 </div>
323 </div>
324</#list>
325<br>
326</#if>
327<div>
328<div>