Copertine Rapporti ISTISAN

Rapporti ISTISAN

Reports containing technical information, data, research protocols, proceedings, training material and the results of other activities carried out by the ISS. Most reports are published in Italian, some are in English.

All reports have an English abstract.

Edited by the Scientifc Communication Unit
Responsible Director: Antonio Mistretta
Editorial staff: Sandra Salinetti


Anno

2020
An error occurred while processing the template.
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#10642621" at line 24, column 1]
----
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	 
11	.iss-publ-adt-badge{ 
12		background-color:#3CAEEB !important; 
13
14 
15	.a-iss-container{ 
16	  margin-right:15px; 
17
18	 
19 
20</style> 
21<div> 
22 
23<!--Filtro per Categorie--> 
24<#include "${templatesPath}/10664768">	 
25 
26<#assign language = locale.getLanguage() /> 
27<div class="row" > 
28    <div class="col-md-12" > 
29        <table class="table table-bordered"> 
30          <#--  <thead> 
31            <tr> 
32              <th scope="col" class="iss-table-adt-title" >Titolo</th> 
33            </tr> 
34          </thead>--> 
35          <tbody> 
36          <#if entries?has_content>  
37            <#list entries as curEntry> 
38                <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
39                 
40                 
41                <!--RIGA PER FRIENDLY URL --> 
42							<#assign assetRenderer = curEntry.getAssetRenderer() /> 
43							<#-- <#if assetLinkBehavior != "showFullContent"> --> 
44							<#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
45							<#-- </#if> -->                 
46                <tr> 
47                    <td>   
48                        <#assign titolo = curEntry.getTitle(locale) > 
49                        <!-- I need to retrieve documents--> 
50                        <#assign fields =curEntry.getAssetRenderer().getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() > 
51 
52                       <#assign assetRenderer = curEntry.getAssetRenderer() /> 
53                      <#-- <#assign documents = fields[3].getValue().getString(locale)  >--> 
54                        
55                       <#assign  
56                        journalArticle = assetRenderer.getArticle() 
57                        document = saxReaderUtil.read(journalArticle.getContent()) 
58                        rootElement = document.getRootElement()  
59                        preferences = rootElement.elements("documents")                         
60												enty_docs = document.selectNodes("/root/dynamic-element/dynamic-element[@name='Documento']/dynamic-content[@language-id='${locale}']") 
61
62											<#if !enty_docs?has_content > <#--Se in inglese non ho nulla o non ho tradotto, controllo se ho documenti in italiano--> 
63												<#assign	enty_docs = document.selectNodes("/root/dynamic-element/dynamic-element[@name='Documento']/dynamic-content[@language-id='it_IT']")> 
64											</#if> 
65                      <div class="a-iss-container" > 
66                        <a href="${viewURL}" class="a-iss-no-underline" title="${titolo}" > 
67                         <p class="iss-title-table-adt" > 
68                         <#assign titolo = curEntry.getTitle(locale) > 
69                       	 <#--<#if titolo?has_content && titolo?length gt 120 > 
70                            ${titolo?substring(0, 120)}... 
71                         <#else> 
72                             ${titolo} 
73                         </#if>--> 
74                          
75                         <span class="iss-title-span-table-adt" > ${titolo}</span> 
76                         <#assign index = 0 > 
77                         <#if enty_docs?? && enty_docs?has_content > 
78                            <#list enty_docs as el > 
79																<#if el.getText()!="" &&  el.getText()!="{}"> 
80																<#--<#if el.getText()?? &&  el.getText()?has_content > --> 
81                                    <#assign index = index+1 > 
82                                </#if> 
83                            </#list> 
84                         </#if> 
85                         <#if index != 0> 
86                         <span class="iss-attach-table-adt"> 
87                            <br> 
88                            <span class="badge badge-secondary iss-publ-adt-badge"> 
89                            <i class="fas fa-paperclip iss-adt-table-attach-icon"></i>  ${index} allegati  </span> 
90                          </span>                          
91                         </#if>                         
92                         </p> 
93                        <i class="fas fa-arrow-circle-right iss-continue-table-adt"></i> 
94                        </a> 
95											</div> 
96                    </td> 
97                    </tr> 
98                </#list>  
99            </#if> 
100          </tbody> 
101        </table> 
102        <br><br> 
103    </div> 
104</div> 
105 
106 
107<script> 
108  $(document).ready(function () { 
109    ColorFirstWord('iss-title-span-table-adt'); 
110 
111    if (!$("link[href='https://fonts.googleapis.com/css?family=Titillium+Web:400,600&display=swap']").length) 
112      $('<link href="https://fonts.googleapis.com/css?family=Titillium+Web:400,600&display=swap" rel="stylesheet">').appendTo("head"); 
113 
114    if (!$("link[href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css']").length) 
115      $('<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.css" rel="stylesheet">').appendTo("head");  
116  }); 
117 
118 
119</script>