Materiales y guías - Coeducación
30 materiales
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> assetCategoryLocalService.getAssetEntryAssetCategories [in template "209613#209652#5377761" at line 40, column 48]
----
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: #assign articleCats = assetCategoryLo... [in template "209613#209652#5377761" at line 40, column 25]
----
1<!--
2Template Name: Skolae Practices results
3Description: This template is used to display practices materials from searcher
4-->
5<#assign journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
6<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
7
8<#if entries?has_content>
9 <#list entries as curEntry>
10 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) />
11 <#if curEntry.getAssetRenderer().getClassName() == "com.liferay.journal.model.JournalArticle">
12 <#assign article = journalArticleService.getLatestArticle(getterUtil.getLong(curEntry.getClassPK())) />
13 <#assign rootElement = saxReaderUtil.read(article.getContentByLocale(locale)) />
14
15 <#assign subtitle = rootElement.valueOf("//dynamic-element[@name='subTitle']/dynamic-content/text()") />
16
17 <#assign image = "" />
18 <#assign imageElement = rootElement.valueOf("//dynamic-element[@name='image']/dynamic-content") />
19 <#if imageElement?has_content>
20 <#assign imageJSON = imageElement?eval />
21 <#assign image = "/documents/${imageJSON.groupId}/${imageJSON.fileEntryId}/${imageJSON.name}/${imageJSON.uuid}" />
22 </#if>
23
24 <#assign articleFriendlyURl = portalUtil.getLayoutFriendlyURL(layout, themeDisplay, themeDisplay.getLocale())?replace(layout.getFriendlyURL(themeDisplay.getLocale()), "/-/"+article.getUrlTitle( themeDisplay.getLocale())) />
25 <div class="search-results__item skolae-card skolae-card--large" id="search-results__item-${curEntry?index}" >
26 <a class="" href="${articleFriendlyURl}" target="_blank">
27 <div class="card__text-wrapper">
28 <h3 class="skolae-card__text-wrapper__title title-blue-small">${article.getTitle(locale)}</h3>
29 <h4 class="skolae-card__text-wrapper__subtitle">${subtitle}</h4>
30 <div class="skolae-card__text-wrapper__paragraph text-trucante text-trucante--5">${article.getDescription()}</div>
31 </div>
32 <#if image == "">
33 <div class="skolae-card__image-empty"></div>
34 <#else>
35 <div class="skolae-card__image">
36 <img src="${image}" />
37 </div>
38 </#if>
39
40 <#assign articleCats = assetCategoryLocalService.getAssetEntryAssetCategories(curEntry.getEntryId()) />
41
42 <div class="tags">
43 <#list articleCats as cat>
44 <div class="tags__item">${cat.getTitle(locale)}</div>
45 </#list>
46 </div>
47 </a>
48 </div>
49 </#if>
50 </#list>
51</#if>
Mostrar más
Mostrando 6 elementos de 30
SKOLAE,UN ITINERARIO PARA APRENDER A
VIVIR EN IGUALDAD
VIVIR EN IGUALDAD