Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> entry [in template "38913#38948#69840" at line 8, column 87] ---- Tip: If the failing expression is known to be 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: ${entry.getVocabularyId()} [in template "38913#38948#69840" at line 8, column 85] ----
1<div class="panels-wrapper">
2 <div class="panels">
3 <#if entries?has_content>
4 <#list entries as entry>
5 <div class="panel panel-default">
6 <div class="panel-heading">
7 <div class="panel-title">
8 <a aria-controls="vocabulary${entry.getVocabularyId()}" aria-expanded="false" class="collapse-icon collapse-icon-middle" data-toggle="collapse" href="#vocabulary${entry.getVocabularyId()}">
9 ${entry.getUnambiguousTitle(entries, themeDisplay.getSiteGroupId(), themeDisplay.getLocale())}
10 </a>
11 </div>
12 </div>
13
14 <#assign categories = entry.getCategories() />
15 <@displayCategories vocabularyId=entry.getVocabularyId() categories=categories />
16 </div>
17 </#list>
18 </#if>
19
20 <#macro displayCategories vocabularyId categories >
21 <#if categories?has_content>
22 <div id="vocabulary${vocabularyId}" class="panel-collapse collapse show">
23 <div class="panel-body">
24 <div class="lfr-asset-category-list-container">
25 <ul class="lfr-asset-category-list list-inline">
26 <#list categories?sort_by("description") as category>
27
28 <li class="category ${category.getName()} list-inline-item">
29 <#assign categoryURL = renderResponse.createRenderURL() />
30
31 ${categoryURL.setParameter("resetCur", "true")}
32 ${categoryURL.setParameter("categoryId", category.getCategoryId()?string)}
33
34 <a href="${categoryURL}">${category.getName()}</a>
35
36 <#if serviceLocator??>
37 <#assign
38 assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryService")
39
40 childCategories = assetCategoryService.getChildCategories(category.getCategoryId())
41 />
42
43 <@displayCategories vocabularyId=vocabularyId categories=childCategories />
44 </#if>
45 </li>
46
47 </#list>
48 </ul>
49 </div>
50 </div>
51 </div>
52 </#if>
53 </#macro>
54 </div>
55</div>