Si è verificato un errore nell'elaborarazione del modello.
No compatible overloaded variation was found; wrong number of arguments. The FTL type of the argument values were: extended_hash+string (com.liferay.portal.model.impl.LayoutSetImpl wrapped into f.e.b.StringModel), extended_hash+string (com.liferay.portal.kernel.theme.ThemeDisplay wrapped into f.e.b.StringModel). The matching overload was searched among these members: com.liferay.portal.util.PortalImpl.getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet, com.liferay.portal.kernel.theme.ThemeDisplay, boolean, boolean), com.liferay.portal.util.PortalImpl.getGroupFriendlyURL(com.liferay.portal.kernel.model.LayoutSet, com.liferay.portal.kernel.theme.ThemeDisplay, Locale) ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign groupPrependURL = portalUtil... [in template "51632#51678#66318" at line 12, column 1] ----
1<#assign articleId = .vars['reserved-article-id'].data />
2<#assign articleGroupId = .vars['articleGroupId'] />
3
4<#assign journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
5<#assign groupService = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") />
6<#assign layoutSetService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutSetLocalService") />
7
8<#assign journalArticle = journalService.getLatestArticle(articleGroupId?number,articleId?string,0) />
9<#assign urlTitle = journalArticle.getUrlTitle() />
10<#assign group = groupService.getGroup(groupId?number) />
11<#assign groupFriendlyURL = group.getFriendlyURL() />
12<#assign groupPrependURL = portalUtil.getGroupFriendlyURL(layoutSetService.getLayoutSet(groupId?number, false), themeDisplay) />
13
14<#assign isNewsAvailable = true />
15
16<section class="radiocor-detail-wrapper">
17
18 <div class="container">
19
20 <#if request.getParameter("nid")?? && request.getParameter("nid")?hasContent>
21 <#assign nid = request.getParameter("nid") />
22
23 <#assign radiocor = radiocor_news_tool.getNewsDetail(nid)! />
24
25 <div class="row">
26 <div class="col">
27 <#if radiocor?? && radiocor?hasContent>
28 <!-- Single Post Content -->
29 <div class="lx-single-post-content">
30 <div id="dynamicHolder">
31 <h1 class="headline">${radiocor.headLine}</h1>
32 <p>${radiocor.dataContent}</p>
33 </div>
34 </div>
35 <#else>
36 <#assign isNewsAvailable = false />
37 </#if>
38 </div>
39 </div>
40
41 <#else>
42 <#assign isNewsAvailable = false />
43 </#if>
44
45 <#if isNewsAvailable == false>
46 <div class="row">
47 <div class="col">
48 <h6>${languageUtil.get(locale,"radiocor-news-not-available")}</h6>
49 <p>
50 <a href="${groupPrependURL}/radiocor/" class="radiocor-read-more font-weight-bold">${languageUtil.get(locale,"radiocor-read-more")}</a>
51 </p>
52 </div>
53 </div>
54 </#if>
55 </div>
56</section>