Premsa i comunicació
S'ha produït un error mentre es processava la plantilla.
No compatible overloaded variation was found; wrong number of arguments. The FTL type of the argument values were: extended_hash+string (com.liferay.journal.model.impl.JournalArticleImpl wrapped into f.e.b.StringModel), string (wrapper: f.t.SimpleScalar), string (wrapper: f.t.SimpleScalar), string (wrapper: f.t.SimpleScalar), extended_hash+string (com.liferay.portal.kernel.theme.ThemeDisplay wrapped into f.e.b.StringModel). The matching overload was searched among these members: com.sun.proxy.$Proxy854.getArticleContent(com.liferay.journal.model.JournalArticle, String, String, String, com.liferay.portal.kernel.portlet.PortletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay), com.sun.proxy.$Proxy854.getArticleContent(long, String, String, String, String, com.liferay.portal.kernel.portlet.PortletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay), com.sun.proxy.$Proxy854.getArticleContent(long, String, double, String, String, String, com.liferay.portal.kernel.portlet.PortletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay) ---- FTL stack trace ("~" means nesting-related): - Failed at: ${jas.getArticleContent(curEntry.getA... [in template "20116#20152#42385" at line 16, column 1] ----
1<#assign jas = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
2<#assign idioma="${localeUtil.getMostRelevantLocale()}" >
3
4<#if "${idioma}"=="es_ES">
5<#-- <p>Castellano</p> -->
6<h2>Noticias</h2>
7<#elseif "${idioma}"=="ca_ES">
8<#-- <p>Valencià</p -->
9<h2>Notícies</h2>
10</#if>
11
12<#if entries?has_content>
13 <#list entries as curEntry>
14
15<a class='noticias-box-home-link' href='/web/guest/prensa-y-comunicacion/-/asset_publisher/0xx17o3orspJ/content/${curEntry.getAssetRenderer().getArticle().getUrlTitle()}'>
16${jas.getArticleContent(
17 curEntry.getAssetRenderer().getArticle(),
18 "35347",
19 "VIEW",
20 themeDisplay.getLanguageId(),
21 themeDisplay
22 )}
23</a>
24
25 </#list>
26</#if>