iniciar-tramite-pension - initial-site




Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy1096.getLatestArticle(long)" threw an exception when invoked on com.sun.proxy.$Proxy1096 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@27cc9e6a"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign journalArticle = journalArtic... [in template "20102#20129#407773" at line 15, column 21] ----
1<#assign
2 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
3/>
4
5<!-- Containers -->
6<#if NombreDelTab.getSiblings()?has_content>
7 <div class="slider slider-mobile">
8 <div class="slides">
9 <#list NombreDelTab.getSiblings() as cur_NombreDelTab>
10 <div>
11 <#list cur_NombreDelTab.ContenidoWebtquy.getSiblings() as cur_NombreDelTab_ContenidoWebtquy>
12 <#assign
13 webContentData = jsonFactoryUtil.createJSONObject(cur_NombreDelTab_ContenidoWebtquy.getData())
14 />
15 <#assign
16 journalArticle = journalArticleLocalService.getLatestArticle(webContentData.classPK?number)
17 />
18 <#assign journalArticlePreferencesMap = {
19 "groupId": "${themeDisplay.getSiteGroupId()}",
20 "articleId": "${journalArticle.articleId}"
21 } />
22 <#assign
23 journalArticlePreferences = freeMarkerPortletPreferences.getPreferences(journalArticlePreferencesMap)
24 />
25 <@liferay_portlet["runtime"]
26 defaultPreferences="${journalArticlePreferences}"
27 portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet"
28 instanceId="wc-${journalArticle.articleId}"
29 />
30 </#list>
31 </div>
32 </#list>
33 </div>
34 </div>
35</#if>
36
37
38
39<style>
40 * {
41 box-sizing: border-box;
42}
43
44.slider {
45 width: 300px;
46 text-align: center;
47 overflow: hidden;
48}
49
50.slides {
51 display: flex;
52
53 overflow-x: auto;
54 scroll-snap-type: x mandatory;
55 scroll-behavior: smooth;
56 -webkit-overflow-scrolling: touch;
57
58 /*
59 scroll-snap-points-x: repeat(300px);
60 scroll-snap-type: mandatory;
61 */
62}
63.slides::-webkit-scrollbar {
64 width: 10px;
65 height: 10px;
66}
67.slides::-webkit-scrollbar-thumb {
68 background: rgb(0, 0, 0);
69 border-radius: 10px;
70}
71.slides::-webkit-scrollbar-track {
72 background: transparent;
73}
74.slides > div {
75 scroll-snap-align: start;
76 flex-shrink: 0;
77 width: 800px;
78 height: 600px;
79 margin-right: 50px;
80 border-radius: 10px;
81 background: #eee;
82 transform-origin: center center;
83 transform: scale(1);
84 transition: transform 0.5s;
85 position: relative;
86
87 display: flex;
88 justify-content: center;
89 align-items: center;
90 font-size: 100px;
91}
92/* .slides > div:target {
93 transform: scale(0.8);
94} */
95.author-info {
96 background: rgba(0, 0, 0, 0.75);
97 color: white;
98 padding: 0.75rem;
99 text-align: center;
100 position: absolute;
101 bottom: 0;
102 left: 0;
103 width: 100%;
104 margin: 0;
105}
106.author-info a {
107 color: white;
108}
109/* img {
110 object-fit: cover;
111 position: absolute;
112 top: 0;
113 left: 0;
114 width: 100%;
115 height: 100%;
116} */
117
118.slider > a {
119 display: inline-flex;
120 width: 1.5rem;
121 height: 1.5rem;
122 background: white;
123 text-decoration: none;
124 align-items: center;
125 justify-content: center;
126 border-radius: 50%;
127 margin: 0 0 0.5rem 0;
128 position: relative;
129}
130.slider > a:active {
131 top: 1px;
132}
133.slider > a:focus {
134 background: #000;
135}
136
137/* Don't need button navigation */
138@supports (scroll-snap-type) {
139 .slider > a {
140 display: none;
141 }
142}
143
144/* html, body {
145 height: 100%;
146 overflow: hidden;
147} */
148/*body {
149 display: flex;
150 align-items: center;
151 justify-content: center;
152 background: linear-gradient (to bottom, #74ABE2, #5563DE);
153 font-family: 'Ropa Sans', sans-serif;
154} */
155
156</style>