Centro Cultural de Tegucigalpa
Actividades
Agenda
Publicador no está disponible temporalmente.
Cargando...
Cargando...
Cargando...
Se ha producido un error al procesar la plantilla.
Java method "com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl.getAssetViewURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse, com.liferay.asset.kernel.model.AssetRenderer, com.liferay.asset.kernel.model.AssetEntry, boolean)" threw an exception when invoked on com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl object "com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl@6ee5554c"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: viewURL = assetPublisherHelper.getAss... [in template "20096#20122#9164642" at line 50, column 21]
----
1<!-- AECID-CC-Imagen-PDF -->
2<style>
3.carrusel-inicio .slick-dots li button::before {
4 font-size: 1rem;
5 color: var(--gris-medio);
6 opacity: 1;
7 }
8.carrusel-inicio .slick-dots li.slick-active button::before {
9 color: var(--primario);
10 opacity: 1;
11 }
12 .carr-img img {
13 height: 24rem;
14}
15</style>
16<#assign liferay_ui = PortletJspTagLibs["/META-INF/liferay-ui.tld"] />
17<#assign liferay_util = PortletJspTagLibs["/META-INF/liferay-util.tld"] />
18<#assign aui = PortletJspTagLibs["/META-INF/liferay-aui.tld"] />
19
20<!-- Funciones -->
21<#function getUrlDocumento documentJson>
22 <#attempt>
23 <#local url = documentJson.url />
24 <#if !url?has_content>
25 <#local url = "/documents/" + documentJson.groupId + "/" + documentJson.uuid />
26 </#if>
27 <#return removeUrlParams(url) />
28 <#recover >
29 </#attempt>
30 <#return "" />
31</#function>
32
33<#function removeUrlParams url>
34 <#if url?contains("?") >
35 <#return url?substring(0, url?index_of("?")) />
36 </#if>
37 <#return url/>
38</#function>
39
40
41
42<#if entries?has_content>
43 <div class="container">
44 <div class="carrusel-inicio w-100 carga-carrusel">
45 <#list entries as curEntry>
46 <#assign
47 curEntry = curEntry
48 renderer = curEntry.getAssetRenderer()
49 entryTitle = htmlUtil.escape(renderer.getTitle(locale))
50 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, renderer, curEntry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
51 />
52
53 <#assign renderer = curEntry.getAssetRenderer()/>
54 <#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '')/>
55 <#assign journalArticle = renderer.getArticle()/>
56 <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString())) />
57
58 <#assign articleId = journalArticle.getArticleId() />
59 <#assign sitio= journalArticle.getGroupId() />
60
61 <#assign NombreDoc=document.valueOf("//dynamic-element[@field-reference='NombreDelDocumento']/dynamic-content/text()") />
62
63 <#assign Doc=document.valueOf("//dynamic-element[@field-reference='Documento']/dynamic-content/text()") />
64 <#assign documentoPDFJson = Doc?eval />
65 <#assign urlPDF = getUrlDocumento(documentoPDFJson) />
66
67 <#assign imgGS = document.valueOf("//dynamic-element[@field-reference='Portada']/dynamic-content") />
68 <#assign imgUuidGS = "" />
69 <#if imgGS?? && imgGS != "" && imgGS?trim != "{}">
70 <#assign imgUuidGS = imgGS?eval.uuid!"" />
71 </#if>
72 <#if imgUuidGS?has_content>
73 <#assign imgNameGS = imgGS?eval.title />
74 <#assign imgGroupIdGS = imgGS?eval.groupId />
75 <#assign imgAltGS = imgGS?eval.alt/>
76 </#if>
77
78
79 <div class="carr-img">
80 <div class="lfr-meta-actions asset-actions">
81 <@getEditIcon />
82 </div>
83 <#if imgUuidGS?has_content>
84 <a class="no-ico d-flex justify-content-center" href="${urlPDF}" title="Ir al documento ${NombreDoc}. Abre en ventana nueva." target="_blank">
85 <#if imgAltGS == "">
86 <#assign imgAltGS = NombreDoc/>
87 </#if>
88 <img src="/documents/${imgGroupIdGS}/0/${imgNameGS}/${imgUuidGS}" data-widget="image" alt="${imgAltGS?truncate(150, '...')}" ${(imgAltGS?length > 150)?then('longdesc="' + imgAltGS + '"', '')}>
89 </a>
90 </#if>
91 </div>
92 </#list>
93 </div>
94 </div>
95</#if>
96
97<script type="text/javascript" data-senna-track="temporary">
98 $(document).ready(function () {
99 $('.carrusel-inicio').not('.slick-initialized').slick({
100 arrows: true,
101 dots: true,
102 infinite: true,
103 slidesToShow: 1,
104 slidesToScroll: 1
105 });
106 });
107</script>
108
109
110<#macro getEditIcon>
111 <#if renderer.hasEditPermission(themeDisplay.getPermissionChecker())>
112 <#assign editPortletURL = renderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("NORMAL"), themeDisplay.getURLCurrent())!"" />
113 <#if validator.isNotNull(editPortletURL)>
114 <#assign title = languageUtil.format(locale, "edit-x", entryTitle, false) />
115 <@liferay_ui["icon"]
116 cssClass="icon-monospaced visible-interaction text-left"
117 icon="pencil"
118 markupView="lexicon"
119 message=title
120 url=editPortletURL.toString()
121 />
122 </#if>
123 </#if>
124</#macro>
Servicios

pasa
Atención al público / Accesibilidadabre en la misma ventana Atención al público / Accesibilidad
Recomendaciones
30 julio 2026







