Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing: ==> serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") [in template "20097#20123#37760" at line 3, column 27] ---- 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: assetLinkLocalService = serviceLocato... [in template "20097#20123#37760" at line 3, column 5] ----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
2 assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")
3 assetLinkLocalService=serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService")
4 article = journalArticleLocalService.getArticle(getterUtil.getLong(scopeGroupId), .vars['reserved-article-id'].data)
5 asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', article.resourcePrimKey)
6 cssClass = ""
7 campusSite = ""
8 subSection = ""
9 campusName = "Angelini">
10
11<!-- SEZIONE CAMPUS -->
12<#list asset.getTags() as tag>
13 <#if tag.name?contains("psichiatria") >
14 <#if campusSite == "" >
15 <#assign campusName = "psichiatria"
16 campusSite = "-" + campusName />
17 <#elseif campusName != "psichiatria">
18 <#assign campusSite = ""
19 campusName = "Angelini" />
20 <#break>
21 </#if>
22 <#elseif tag.name?contains("pediatria")>
23 <#if campusSite == "" >
24 <#assign campusName = "pediatria"
25 campusSite = "-" + campusName />
26 <#elseif campusName != "pediatria">
27 <#assign campusSite = ""
28 campusName = "Angelini" />
29 <#break>
30 </#if>
31 <#elseif tag.name?contains("ortopedia")>
32 <#if campusSite == "" >
33 <#assign campusName = "ortopedia"
34 campusSite = "-" + campusName />
35 <#elseif campusName != "ortopedia">
36 <#assign campusSite = ""
37 campusName = "Angelini" />
38 <#break>
39 </#if>
40 </#if>
41</#list>
42
43<!-- SEZIONE INTERNA -->
44<#list asset.getTags() as tag>
45 <#if tag.name == "news">
46 <#assign subSection = "news" />
47 <#elseif tag.name == "interviste">
48 <#assign subSection = "interviste" />
49 <#elseif tag.name == "tutorial">
50 <#assign subSection = "tutorial" />
51 <#elseif tag.name == "tecnologia">
52 <#assign subSection = "tecnologia" />
53 <#elseif tag.name == "eventi">
54 <#assign subSection = "eventi" />
55 </#if>
56</#list>
57
58<#if campusName != "Angelini">
59 <#assign cssClass = campusName />
60</#if>
61
62<div class="doc doc-c-${cssClass}">
63 <article class="doc-content">
64 <header class="doc-hd">
65 <div class="doc-hd-content">
66 <p class="sec-breadcrumb"><a href="/group/campus-angelini/wall${campusSite}">Campus ${campusName?capitalize}</a>
67 <#if subSection != "" >
68 > <a href="/group/campus-angelini/${subSection}-${campusName?lower_case}">${subSection?capitalize}</a>
69 </#if>
70 > ${TITOLO.getData()} <!-- la categoria sarà una sola di partenza -->
71 <!-- Articoli Medico-Specialistici -->
72 <h1 class="doc-title">${TITOLO.getData()}</h1>
73 <div class="doc-summary">
74 <p>${SOTTOTITOLO.getData()}</p>
75 </div>
76 <#if AUTORE.data?has_content>
77 <div class="doc-meta">
78 <p class="doc-author">
79
80 autore <strong class="doc-author-name">${AUTORE.getData()}</strong>
81 </p>
82 </div>
83 </#if>
84 </div><!-- /doc-hd-content -->
85 </header>
86 <div class="doc-bd">
87
88 <div class="c-list c-list-utils-doc">
89 <ul class="list list-utils-doc">
90 <#if TITOLO_MEDIA.data?has_content>
91 <li><a href="#doc-downloads" class="link-doc-download"><span>downloads</span></a></li>
92 </#if>
93 <li><a href="#" class="link-doc-print" onClick="window.print(); return false"><span>stampa articolo</span></a></li>
94 </ul>
95 </div><!-- /list-utils-doc-container -->
96
97 <div class="doc-bd-section">
98
99 <div class="u-wrap">
100 <div class="doc-bd-fig l-img">
101 <img alt="IMMAGINE" src="${IMMAGINE.getData()}" /><!-- dimensioni massime 505 di larghezza -->
102 </div><!-- /fig -->
103 <div class="doc-bd-txt">
104 <div class="e-content"><!-- contenuto inserito con html editor -->
105
106 <#if titleAbs.data?has_content>
107 <h2>${titleAbs.getData()}</h2>
108 </#if>
109 ${CORPO_ARTICOLO.getData()}
110 </div><!-- /e-content -->
111 </div><!-- /doc-bd-txt -->
112 </div><!-- /u-wrap -->
113
114 </div><!-- doc-bd-section -->
115
116
117
118 <#if BOX_CONTENUTI_MULTIMEDIALI.data?has_content>
119 <div class="doc-bd-section doc-bd-section-video">
120 <div class="u-wrap">
121 <div class="doc-bd-embed">
122 <div class="embed-container">
123 <div class="embed embed--16x9"><!-- 281 / 500 = 16x9 -->
124 <!--iframe src="https://player.vimeo.com/video/149129153" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe-->
125
126 ${BOX_CONTENUTI_MULTIMEDIALI.getData()}
127
128 </div><!-- /embed -->
129 </div><!-- /embed-container -->
130 </div><!-- /doc-bd-embed -->
131 <div class="doc-bd-txt">
132 <div class="e-content"><!-- contenuto inserito con html editor -->
133
134 <#if VIDEO_TITOLO.data?has_content>
135 <h2>${VIDEO_TITOLO.getData()}</h2>
136 </#if>
137 <#if VIDEO_DESC.data?has_content>
138 <p>${VIDEO_DESC.getData()}</p>
139 </#if>
140
141 </div><!-- /e-content -->
142 </div><!-- /doc-bd-txt -->
143 </div><!-- /u-wrap -->
144 </div><!-- doc-bd-section -->
145 </#if>
146
147
148 <#if IMMAGINE_GALLERIA.data?has_content>
149 <div class="doc-bd-section doc-bd-section-gallery">
150 <div class="u-wrap">
151 <div class="c-list c-list-gallery">
152 <ul class="list list-gallery">
153
154 <#list IMMAGINE_GALLERIA.getSiblings() as cur_images>
155 <li class="item"><img src="${cur_images.getData()}" alt="" /></li>
156 </#list>
157
158 </ul>
159 </div><!-- /c-list -->
160 </div><!-- u-wrap -->
161 </div>
162 </#if>
163
164 <#if CORPO_ARTICOLO_FINE.data?has_content>
165 <div class="doc-bd-section">
166 <div class="u-wrap">
167 <div class="doc-bd-txt">
168 <div class="e-content"><!-- contenuto inserito con html editor -->
169 ${CORPO_ARTICOLO_FINE.getData()}
170 </div><!-- /e-content -->
171 </div><!-- /doc-bd-txt -->
172 </div><!-- /u-wrap -->
173 </div><!-- doc-bd-section -->
174 </#if>
175
176 </div><!-- /doc-bd -->
177
178 <aside class="doc-aside">
179 <#if TITOLO_MEDIA.data?has_content>
180 <div class="doc-subsec doc-subsec--downloads" id="doc-downloads">
181 <div class="u-wrap">
182 <h3 class="doc-subsec-title">Documenti scaricabili</h3>
183 <div class="c-list">
184 <#list TITOLO_MEDIA.getSiblings() as cur_TITOLO_MEDIA>
185 <ul class="list list-downloads">
186 <li>
187 <a href="${cur_TITOLO_MEDIA.getChild('MEDIA').getData()}" target="_blank">
188 <i class="i i-pdf"></i>${cur_TITOLO_MEDIA.getData()}
189 </a>
190 <#if cur_TITOLO_MEDIA.getChild("PESO_MEDIA").data?has_content>
191 - (<em class="doc-weight">${cur_TITOLO_MEDIA.getChild("PESO_MEDIA").getData()}</em>)
192 </#if>
193 </li>
194 </ul>
195 </#list>
196 </div><!-- /c-list -->
197 </div><!-- /u-wrap -->
198 </div><!-- /doc-subsec -->
199 </#if>
200 <#if BIBLIOGRAFIA.data?has_content>
201 <div class="doc-subsec doc-subsec--bibliografia">
202 <div class="u-wrap">
203 <h3 class="doc-subsec-title">Bibliografia</h3>
204 <div class="c-list">
205 <ul class="list list-biblio">
206 <#list BIBLIOGRAFIA.getSiblings() as cur_BIBLIOGRAFIA>
207 <li>${cur_BIBLIOGRAFIA.getData()}</li>
208 </#list>
209 </ul>
210 </div><!-- /c-list -->
211 </div><!-- /u-wrap -->
212 </div><!-- /doc-subsec -->
213 </#if>
214
215 <!-- ARTICOLI CORRELATI -->
216 <#if assetLinkLocalService.getDirectLinks(asset.entryId)?has_content>
217 <div class="doc-subsec doc-subsec--related-content">
218 <div class="u-wrap">
219 <h3 class="doc-subsec-title">Contenuti correlati</h3>
220 <div class="c-assets-list g-list-max3">
221 <div class="c-list c-list-box c-list-tp4 c-list-related-content">
222 <ul class="list list-box list-tp4 list-related-content" role="list">
223 <#list assetLinkLocalService.getDirectLinks(asset.entryId) as link>
224 <#assign asset=assetEntryLocalService.fetchEntry(link.entryId2)
225 assetRenderer=asset.getAssetRenderer()
226 journalArticle=assetRenderer.getAssetObject()
227 cssClass = ""/>
228 <#-- SEZIONE CAMPUS -->
229 <#list asset.getTags() as tag>
230 <#if tag.name?contains("psichiatria") >
231 <#if cssClass == "" >
232 <#assign cssClass = "psichiatria" />
233 <#elseif cssClass != "psichiatria">
234 <#assign cssClass = "" />
235 <#break>
236 </#if>
237 <#elseif tag.name?contains("pediatria")>
238 <#if cssClass == "" >
239 <#assign cssClass = "pediatria" />
240 <#elseif cssClass != "pediatria">
241 <#assign cssClass = "" />
242 <#break>
243 </#if>
244 <#elseif tag.name?contains("ortopedia")>
245 <#if cssClass == "" >
246 <#assign cssClass = "ortopedia" />
247 <#elseif cssClass != "ortopedia">
248 <#assign cssClass = "" />
249 <#break>
250 </#if>
251 </#if>
252 </#list>
253
254 <li class="item item-box item-c-${cssClass}">
255 <!--div class="item-card"-->
256 <@liferay_journal["journal-article"] articleId=journalArticle.getArticleId()
257 ddmTemplateKey='51988' groupId=journalArticle.getGroupId() />
258 </li>
259 </#list>
260 </ul>
261 </div><!-- /c-list -->
262 </div>
263 </div><!-- /container -->
264 </div><!-- /doc-subsec -->
265 </#if>
266 </aside>
267 </article><!-- /doc-content -->
268</div><!-- /doc -->
-
Specializzazione medica: risposte alle domande più frequenti
A disposizione degli utenti una serie di risposte alle domande più frequenti fatte dai Medici in Formazione Specialistica sulle diverse attività che compongono questa fase di studio.