Consultazioni Old - AREA PUBBLICA
Consultazioni
Contiene l'elenco completo delle consultazioni in corso e concluse nel corso del 2015.
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> httpUtil.decodeURL [in template "10154#10194#255454" at line 40, column 91]
----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: ${httpUtil.decodeURL(sappo?substring(... [in template "10154#10194#255454" at line 40, column 89]
----
1<div class="sfondo-pers-pers divContent" style="border: dotted 1px #2C78BC;padding-right: 20px;">
2
3 <#list entries as entry>
4 <#assign assetRenderer = entry.getAssetRenderer() />
5 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) />
6 <#assign viewUrlTitle = assetRenderer.getUrlTitle()/>
7 <#assign groupId = assetRenderer.getGroupId()/>
8 <#if assetLinkBehavior != "showFullContent">
9 <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) />
10 </#if>
11 <#assign docXml = saxReaderUtil.read(entry.getAssetRenderer().getArticle().getContent()) />
12 <#assign fieldData = docXml.valueOf("//dynamic-element[@name='data']/dynamic-content/text()") />
13 <#assign fieldDataPubb = docXml.valueOf("//dynamic-element[@name='dataPubblicazione']/dynamic-content/text()") />
14 <#assign fieldContenuto = docXml.valueOf("//dynamic-element[@name='contenutoHtml']/dynamic-content/text()") />
15 <#assign fieldNumero = docXml.valueOf("//dynamic-element[@name='numero']/dynamic-content/text()") />
16
17 <#assign listaAllegati = docXml.selectNodes("//dynamic-element[@name='allegato']") />
18 <#assign dataNews_DateObj = dateUtil.parseDate("yyyy-MM-dd", getterUtil.getString(fieldData), locale)>
19 <nav>
20 <ul>
21 <li style="text-align: justify">
22 <h4 style="color: #2C78BC; font-family: 'Open Sans', Verdana, Arial; font-size:16px;">
23 <strong>${fieldNumero}</strong>
24 </h4>
25 <div style="font-size:14px;"><@getEditIcon />${fieldContenuto}</div>
26 <span style="color: #2C78BC; font-family: 'Open Sans', Arial;font-size: 14px;">
27 <strong>
28 <#if fieldData?? >
29 ${dateUtil.getDate(dataNews_DateObj, "dd MMMM yyyy ", locale)}
30 </#if>
31 </strong>
32 </span>
33 <#list listaAllegati as cur_allegato>
34 <#assign allegato= cur_allegato.valueOf("./dynamic-content/text()")>
35 <#if allegato?? && allegato?has_content && allegato?contains("/")>
36 <p>
37 <a class="cambioimmagine" href="${allegato}" target="_blank">
38 <strong class="infoStoricheVedi">
39 <#assign sappo= allegato?substring(0, allegato?last_index_of("/"))>
40 ${httpUtil.decodeURL(sappo?substring(sappo?last_index_of("/")+1))}
41 </strong>
42 </a>
43 </p>
44 </#if>
45 </#list>
46 </li>
47 <div class="clearer" ></div>
48 </ul>
49 </nav>
50 <hr>
51 </#list>
52</div>
53
54
55<#macro getEditIcon>
56 <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
57 <#assign redirectURL = renderResponse.createRenderURL() />
58
59 ${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")}
60 ${redirectURL.setWindowState("pop_up")}
61
62 <#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL) />
63
64 <#if validator.isNotNull(editPortletURL)>
65 <#assign title = languageUtil.format(locale, "edit-x", htmlUtil.escape(assetRenderer.getTitle(locale))) />
66
67 <@liferay_ui["icon"]
68 image="edit"
69 message=title
70 url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});"
71 />
72 </#if>
73 </#if>
74</#macro>
75
76
77<#macro getPrintIcon>
78 <#if enablePrint == "true" >
79 <#assign printURL = renderResponse.createRenderURL() />
80
81 ${printURL.setParameter("struts_action", "/asset_publisher/view_content")}
82 ${printURL.setParameter("assetEntryId", entry.getEntryId()?string)}
83 ${printURL.setParameter("viewMode", "print")}
84 ${printURL.setParameter("type", entry.getAssetRendererFactory().getType())}
85
86 <#if (validator.isNotNull(assetRenderer.getUrlTitle()))>
87 <#if (assetRenderer.getGroupId() != themeDisplay.getScopeGroupId())>
88 ${printURL.setParameter("groupId", assetRenderer.getGroupId()?string)}
89 </#if>
90
91 ${printURL.setParameter("urlTitle", assetRenderer.getUrlTitle())}
92 </#if>
93
94 ${printURL.setWindowState("pop_up")}
95
96 <@liferay_ui["icon"]
97 image="print"
98 message="print"
99 url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "printAsset', title: '" + languageUtil.format(locale, "print-x-x", ["aui-helper-hidden-accessible", htmlUtil.escape(assetRenderer.getTitle(locale))]) + "', uri: '" + htmlUtil.escapeURL(printURL.toString()) + "'});"
100 />
101 </#if>
102</#macro>
103
104
105
106<#macro getRelatedAssets>
107 <#if enableRelatedAssets == "true">
108 <@liferay_ui["asset-links"]
109 assetEntryId=entry.getEntryId()
110 />
111 </#if>
112</#macro>