Inscripción de Perros Potencialmente Peligrosos en el censo municipal -

Ruta de navegación

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy632.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy632 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@1d038a7c"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = JournalArticleServi...  [in template "20099#20135#89601" at line 23, column 1]
----
1<#-- SERVICIOS -->
 
2<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
 
3<#assign LayoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
 
4
 
5<#-- ENLACES -->
 
6<#attempt>
 
7    <#assign 
 
8        urlRedirect = request.getParameter("redirect")?replace("\\?(.*)", "", "r")
 
9        urlTitle = themeDisplay.getURLCurrent()?replace(".*\\/-\\/(.*)\\?redirect=.*", "$1", "r") 
 
10    />
 
11<#recover>
 
12    <#assign 
 
13        urlRedirect = "/"
 
14        urlTitle = themeDisplay.getURLCurrent()?replace(".*\\/-\\/(.*)", "$1", "r")
 
15    />
 
16</#attempt>
 
17<#if urlRedirect = "/">
 
18    <#assign urlRedirect = LayoutService.fetchDefaultLayout(groupId, false).getFriendlyURL() />
 
19</#if>
 
20<#assign defaultFriendlyUrl = LayoutService.fetchDefaultLayout(groupId, false).getFriendlyURL()>
 
21
 
22<#-- ARTICULO -->
 
23<#assign article = JournalArticleService.getArticleByUrlTitle(groupId, urlTitle) />
 
24
 
25<#-- LAYOUTS -->
 
26<#assign isArea = !themeDisplay.getLayout().isRootLayout() />
 
27<#attempt>
 
28    <#assign redirectLayout = LayoutService.getFriendlyURLLayout(groupId, false, urlRedirect) />
 
29<#recover>
 
30    <#assign redirectLayout = LayoutService.getFriendlyURLLayout(groupId, false, "/inicio") />
 
31</#attempt>
 
32<#assign ancestors = redirectLayout.getAncestors() />
 
33
 
34<div class="migas">
 
35    <div class="content">
 
36        <ol class="breadcrumb">
 
37            <li> 
 
38                <i class="fa fa-home fa-lg" aria-hidden="true"></i> <a href="${defaultFriendlyUrl}">Inicio</a>
 
39            </li>
 
40            <#if isArea>
 
41                <li> 
 
42                    <a href="/areas">Áreas</a>
 
43                </li>
 
44                <li>
 
45                    <a href="/areas${themeDisplay.getScopeGroup().getFriendlyURL()}">${themeDisplay.getScopeGroup().getName()}</a>
 
46                </li>
 
47            </#if>
 
48            <#if ancestors?size gt 0>
 
49                <#list ancestors?size-1..0 as index>
 
50                    <#assign ancestor = ancestors[index] />
 
51                    <#if ancestor.getFriendlyURL() != defaultFriendlyUrl>
 
52                        <li>
 
53                            <#if isArea>
 
54                                <#assign urlAncestor = "/areas" + themeDisplay.getScopeGroup().getFriendlyURL() + ancestor.getFriendlyURL(locale) />
 
55                            <#else>
 
56                                <#assign urlAncestor = ancestor.getFriendlyURL(locale) />
 
57                            </#if> 
 
58                            <a href="${urlAncestor}">${ancestor.getName(locale)}</a>
 
59                        </li>
 
60                    </#if>
 
61                </#list>
 
62            </#if>
 
63            <#if redirectLayout.getFriendlyURL() != defaultFriendlyUrl>
 
64                <li>
 
65                    <#if isArea>
 
66                        <#assign urlRedirectLayout = "/areas" + themeDisplay.getScopeGroup().getFriendlyURL() + redirectLayout.getFriendlyURL(locale) />
 
67                    <#else>
 
68                        <#assign urlRedirectLayout = redirectLayout.getFriendlyURL(locale) />
 
69                    </#if> 
 
70                    <a href="${urlRedirectLayout}">${redirectLayout.getName(locale)}</a>
 
71                </li>
 
72            </#if>
 
73            <li class="active">${article.getTitle(locale)}</li>
 
74        </ol>
 
75        <script>
 
76            $("#navbarMenuPral").find("li").each(function() {
 
77                var friendlyUrl = $(this).find("a").attr("href");
 
78                if(friendlyUrl.indexOf("${redirectLayout.getFriendlyURL()}") != -1) {
 
79                    $(this).attr("class", "active");
 
80                } else {
 
81                    $(this).attr("class", "");
 
82                }
 
83            });
 
84        </script>
 
85    </div>
 
86</div> 

Ruta de navegación

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy632.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy632 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@1d038a7c"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: article = JournalArticleService.getAr...  [in template "20099#20135#89619" at line 26, column 5]
	- Reached through: #global-container  [in template "20099#20135#89619" at line 25, column 1]
----
1<#-- SERVICIOS --> 
2<#assign 
3    LayoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
4    JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
5    AssetEntryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
6/> 
7 
8<#-- ENLACES --> 
9<#attempt> 
10    <#global  
11        urlRedirect = request.getParameter("redirect")?replace("\\?(.*)", "", "r") 
12        urlTitle = themeDisplay.getURLCurrent()?replace(".*\\/-\\/(.*)\\?redirect=.*", "$1", "r")  
13    /> 
14<#recover> 
15    <#global  
16        urlRedirect = "/" 
17        urlTitle = themeDisplay.getURLCurrent()?replace(".*\\/-\\/(.*)", "$1", "r") 
18    /> 
19</#attempt> 
20<#if urlRedirect = "/"> 
21    <#global urlRedirect = LayoutService.fetchDefaultLayout(groupId, false).getFriendlyURL() /> 
22</#if> 
23 
24<#-- VARIABLES --> 
25<#global 
26    article = JournalArticleService.getArticleByUrlTitle(groupId, urlTitle) 
27    entryId = AssetEntryService.getEntry("com.liferay.journal.model.JournalArticle", article.getResourcePrimKey()).getEntryId() 
28    templateKey = article.getDDMTemplateKey() 
29    rootElement = saxReaderUtil.read(article.getContent()).getRootElement() 
30/> 
31 
32<#-- INCLUSION DE LA PLANTILLA DEL CONTENIDO WEB --> 
33<#include "${templatesPath}/${templateKey}" /> 

Cookies

Utilizamos cookies propias y de terceros para mejorar la experiencia de navegación y ofrecer contenidos y servicios de interés.