DAC2020_0818 - S.P.32 RISOLUZIONE DEL NODO DI AROSIO - AFFIDAMENTO INCARICO PER REDAZIONE VALUTAZIONE DELL’IMPATTO ACUSTICO - Provincia di Como
Aggregatore Risorse
Si è verificato un errore nell'elaborarazione del modello.
Failed to "?eval" string with this error: ---begin-message--- Syntax error in ?eval-ed string in line 1, column 161: Lexical error: encountered "u" (117), after "\"DAC2020_0818 - S.P.32 RISOLUZIONE DEL NODO DI AROSIO - AFFIDAMENTO INCARICO PER REDAZIONE VALUTAZIONE DELL\\". ---end-message--- The failing expression: ==> paragraph.TitoloDocumentoAllegatoFieldSetFieldSet.DocumentoAllegato.data?eval [in template "20101#20127#BAN-GARA-CONTRATTI-TMPL" at line 203, column 93] ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign jsonData = paragraph.TitoloDo... [in template "20101#20127#BAN-GARA-CONTRATTI-TMPL" at line 203, column 73] ----
1<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
2 AssetTagLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetTagLocalService")
3 assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
4 currentArticle = JournalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data)
5 currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticle.getResourcePrimKey())
6 assetCategories = currentArticleAssetEntry.getCategories()
7 images_folder = themeDisplay.getPathThemeImages()
8 mainNavigationPreferencesMap = {"displayDepth": "1", "portletSetupPortletDecoratorId": "barebone"}
9 idMenu = parentStructureFieldSet173956.titleSection.getData()?replace('?', '')?replace('à','')?trim
10 mainNavigationPreferencesMapAnchor = {"displayDepth": "1", "portletSetupPortletDecoratorId": "barebone"}
11 dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") />
12
13
14<div class="component-block no-space">
15 <div class="intro-text-wrapper">
16 <div class="container">
17 <div class="row">
18 <div class="col-10 offset-1">
19 <!-- breadcrumbs-->
20 <@liferay.breadcrumbs />
21 </div>
22 </div>
23 <div class="row">
24 <div class="col-10 col-lg-6 offset-1">
25 <!-- icon-->
26 <!-- title-->
27 <h1>${parentStructureFieldSet173956.titleSection.getData()}</h1>
28 <!-- search-->
29 <!-- intro data-->
30 <div class="info-wrapper">
31 <div class="row">
32 <div class="col-12 col-lg-4">
33 <#if validator.isNotNull(getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDate.getData()))>
34 <span>
35 <!--LABEL-->
36 <#assign expirationDate_Data = getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDate.getData())>
37 <@liferay.language key="it.wedoo_ban_expirationdate" />:
38 <br>
39 <strong>
40 <#assign expirationDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", expirationDate_Data, locale)>
41 ${dateUtil.getDate(expirationDate_DateObj, "dd MMM yyyy", locale)}
42 <#assign expirationDateTime_Data = getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDateFieldSetFieldSet.expirationTime.getData())>
43 <#if validator.isNotNull(expirationDateTime_Data)>
44 - ${expirationDateTime_Data?string?substring(10)}
45 </#if>
46 </strong>
47 </span>
48 </#if>
49 </div>
50 <div class="col-12 col-lg-4">
51 </div>
52 </div>
53 </div>
54 </div>
55 <div class="col-10 offset-1 col-lg-4 offset-lg-1">
56 <!-- chips column-->
57 <div class="chips-column">
58 <div class="generic-category-label">
59 <!--LABEL-->
60 <span><@liferay.language key="it.wedoo_ban_titlemenu" />:</span>
61 </div>
62 <@liferay.navigation_menu
63 default_preferences=
64 freeMarkerPortletPreferences.getPreferences(mainNavigationPreferencesMap)
65 instance_id="idMenuBan"/>
66 </div>
67 </div>
68 </div>
69 </div>
70 </div>
71</div>
72
73<div class="container">
74 <div class="row">
75 <div class="col-12 col-lg-3 right-border">
76 <@liferay.navigation_menu
77 default_preferences=
78 freeMarkerPortletPreferences.getPreferences(mainNavigationPreferencesMapAnchor)
79 instance_id="idMenuAnchor"/>
80 </div>
81 <div class="col-10 col-lg-8 offset-1">
82 <div class="right-page-content">
83 <div class="right-page-content">
84 <!--text media-->
85 <div class="component-block it-page-section">
86 <div class="text-media-wrapper">
87 <div class="texts">
88 <h2 class="anchor-details-page" id="id_100" data-title="${parentStructureFieldSet173956.paragraphTitle.getData()}">${parentStructureFieldSet173956.paragraphTitle.getData()}</h2>
89 <p><strong><@liferay.language key="it.wedoo_ban_codiceprocedura" />:</strong> ${parentStructureFieldSet173956.CodiceProcedura.getData()}<br>
90 <strong><@liferay.language key="it.wedoo_ban_cig" />:</strong> ${parentStructureFieldSet173956.CIG.getData()}<br>
91 <strong><@liferay.language key="it.wedoo_ban_stazioneappaltante" />:</strong> ${parentStructureFieldSet173956.StazioneAppaltante.getData()}<br>
92 <strong><@liferay.language key="it.wedoo_ban_entecontraente" />:</strong> ${parentStructureFieldSet173956.EnteContraente.getData()}<br>
93 <strong><@liferay.language key="it.wedoo_ban_settore" />:</strong>
94 <#if parentStructureFieldSet173956.SettoreTesto.getData()??>
95 ${parentStructureFieldSet173956.SettoreTesto.getData()}
96 </#if>
97 <#list parentStructureFieldSet173956.Settore.getOptions() as item>
98 ${item} |
99 </#list>
100 <br>
101 <strong><@liferay.language key="it.wedoo_ban_rup" />:</strong> ${parentStructureFieldSet173956.RUP.getData()}<br>
102 <strong><@liferay.language key="it.wedoo_ban_importo" />:</strong> ${parentStructureFieldSet173956.ImportoABaseDAsta.getData()} €<br>
103 <strong><@liferay.language key="it.wedoo_ban_modalitacontraente" />:</strong> ${parentStructureFieldSet173956.Modalita.getData()}<br>
104 <strong><@liferay.language key="it.wedoo_ban_datapubblicazione" />:</strong> <#assign publishDate_Data = getterUtil.getString(parentStructureFieldSet173956.publishDate.getData())>
105 <#if validator.isNotNull(publishDate_Data)>
106 <#assign publishDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", publishDate_Data, locale)>
107 ${dateUtil.getDate(publishDate_DateObj, "dd/MM/yyyy", locale)}
108 </#if><br>
109 <#if validator.isNotNull(getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDate.getData()))>
110 <strong><@liferay.language key="it.wedoo_ban_datascadenza" />:</strong><#assign expirationDate_Data = getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDate.getData())>
111 <#assign expirationDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", expirationDate_Data, locale)>
112 ${dateUtil.getDate(expirationDate_DateObj, "dd/MM/yyyy", locale)}
113 <@liferay.language key="it.wedoo_ban_entro" />
114 <#assign expirationDateTime_Data = getterUtil.getString(parentStructureFieldSet173956.expirationDateFieldSet.expirationDateFieldSetFieldSet.expirationTime.getData())>
115 <#if validator.isNotNull(expirationDateTime_Data)>
116 ${expirationDateTime_Data?string?substring(10)}
117 </#if>
118 <br>
119 </#if>
120 <strong><@liferay.language key="it.wedoo_ban_stato" />:</strong> <#list assetCategories as category>
121 <#if themeDisplay.permissionChecker.hasPermission(group, "com.liferay.asset.kernel.model.AssetCategory", category.getCategoryId(), "VIEW")>
122 ${category.getTitle(locale)}
123 </#if>
124 </#list><br>
125 </p>
126 </div>
127 </div>
128 </div>
129 <!--text media-->
130 <div class="component-block it-page-section">
131 <div class="text-media-wrapper">
132 <div class="texts">
133 <#list parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafo.getSiblings() as paragraph>
134 <#if parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.paragraphHTML.getSiblings()?has_content>
135 <#assign htmlParagraph = parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.paragraphHTML.getData()>
136 <#if htmlParagraph? has_content>
137 <h2 class="anchor-details-page" id="id_${paragraph?index}" data-title="${paragraph.getData()}">${paragraph.getData()}</h2>
138 <p>
139 ${htmlParagraph}
140 </p>
141 </#if>
142 <#-- Documenti -->
143 <#if parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.DocumentoFieldSet.Documento.getSiblings()?has_content>
144 <div class="row">
145 <#list parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.DocumentoFieldSet.Documento.getSiblings() as cur_Documento>
146 <#if cur_Documento.getData()?has_content>
147
148 <#assign jsonData = cur_Documento.data?eval />
149 <#if dlFileEntryLocalService.fetchFileEntry(jsonData.uuid, jsonData.groupId?number)??>
150 <#assign fileObj = dlFileEntryLocalService.fetchFileEntry(jsonData.uuid, jsonData.groupId?number) />
151 <#assign sizeMB = fileObj.getSize() / (1024*1024) />
152 <#assign title = parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.DocumentoFieldSet.DocumentoFieldSetFieldSet.TitoloDocumento.getData() />
153 <#assign description = parentStructureFieldSet173956.TitoloParagrafoFieldSet.TitoloParagrafoFieldSetFieldSet.DocumentoFieldSet.DocumentoFieldSetFieldSet.DescrizioneDocumento.getData() />
154 <div class="col-12 col-lg-6">
155 <div class="card-wrapper card-space card-download">
156 <div class="card card-bg simple-card">
157 <a href="${cur_Documento.getData()}" download="">
158 <div class="card-body">
159 <svg class="icon">
160 <use xlink:href="${themeDisplay.getPathThemeImages() + '/sprite.svg#it-clip'}"></use>
161 </svg>
162 <div class="text-container">
163 <h3>${title!''} (${sizeMB?string["0.##"]}Mb)</h3>
164 <div class="free-text">
165 <p>${description!''}</p>
166 </div>
167 </div>
168 </div>
169 </a>
170 </div>
171
172 </div>
173 </div>
174 </#if>
175 </#if>
176 </#list>
177 </div>
178 </#if>
179 </#if>
180 </#list>
181
182 </div>
183 </div>
184 </div>
185 <!--Documenti allegati-->
186 <#if parentStructureFieldSet173956.TitoloDocumentoAllegatoFieldSet.getSiblings()?has_content>
187
188
189 <div class="component-block it-page-section">
190 <div class="text-media-wrapper">
191 <div class="texts">
192 <#list parentStructureFieldSet173956.TitoloDocumentoAllegatoFieldSet.getSiblings() as p>
193 <#if validator.isNotNull(parentStructureFieldSet173956.TitoloDocumentoAllegatoFieldSet.TitoloDocumentoAllegatoFieldSetFieldSet.DocumentoAllegato.getData()) && p?index==0 >
194 <h2 class="anchor-details-page" id="id_69" data-title="<@liferay.language key="it.wedoo_ban_documentiallegati" />"><@liferay.language key="it.wedoo_ban_documentiallegati" /></h2>
195 </#if>
196 </#list>
197
198 </div>
199 <div class="row">
200 <#list parentStructureFieldSet173956.TitoloDocumentoAllegatoFieldSet.getSiblings() as paragraph>
201 <#if paragraph.TitoloDocumentoAllegato.getData()?has_content>
202 <#if validator.isNotNull(paragraph.TitoloDocumentoAllegatoFieldSetFieldSet.DocumentoAllegato.data)>
203 <#assign jsonData = paragraph.TitoloDocumentoAllegatoFieldSetFieldSet.DocumentoAllegato.data?eval />
204 <#if dlFileEntryLocalService.fetchFileEntry(jsonData.uuid, jsonData.groupId?number)??>
205 <#assign fileObj = dlFileEntryLocalService.fetchFileEntry(jsonData.uuid, jsonData.groupId?number) />
206 <#assign sizeMB = fileObj.getSize() / (1024*1024) />
207 <#assign title = paragraph.TitoloDocumentoAllegato.getData() />
208 <#assign description = paragraph.TitoloDocumentoAllegatoFieldSetFieldSet.DescrizioneDocumentoAllegato.getData() />
209 <div class="col-12 col-lg-6">
210 <div class="card-wrapper card-space card-download">
211 <div class="card card-bg simple-card">
212 <a href="${paragraph.TitoloDocumentoAllegatoFieldSetFieldSet.DocumentoAllegato.getData()}" download="">
213 <div class="card-body">
214 <svg class="icon">
215 <use xlink:href="${themeDisplay.getPathThemeImages() + '/sprite.svg#it-clip'}"></use>
216 </svg>
217 <div class="text-container">
218 <h3>${title!''} (${sizeMB?string["0.##"]}Mb)</h3>
219 <div class="free-text">
220 <p>${description!''}</p>
221 </div>
222 </div>
223 </div>
224 </a>
225 </div>
226
227 </div>
228 </div>
229 </#if>
230 </#if>
231 </#if>
232 </#list>
233 </div>
234 </div>
235 </div>
236 </#if>
237 </div>
238 <@wedoo.lastupdate/>
239 </div>
240 </div>
241
242 <style>
243 .journal-content-article .component-block.it-page-section .text-media-wrapper .texts img{height:auto !important; width:auto !important; max-width:100% !important;}
244 </style>
245 </div>
246</div>