Pla normatiu. Ordenances i disposicions - València
Pla normatiu. Ordenances i disposicions
Normativa Municipal
A través del següent enllaç a la Seu Electrònica, pot localitzar i consultar tant la NORMATIVA MUNICIPAL VIGENT (ordenança, ban, reglament...), com la NORMATIVA EN TRAMITACIÓ en qualsevol de les seues fases (consulta pública, tramitació de la proposta normativa, tramitació del projecte...).
Pla normatiu anual
Pla normatiu 2025 (pdf 452 Kb)
Informes anuals d'avaluació normativa
Informe d'avaluació normativa 2024 (pdf 1,55 Mb).Anys anteriors
Codi: sweb742:8080:
S'ha produït un error mentre es processava la plantilla.
Java method "com.sun.proxy.$Proxy584.getArticleContent(long, String, String, String, String, com.liferay.portal.kernel.portlet.PortletRequestModel, com.liferay.portal.kernel.theme.ThemeDisplay)" threw an exception when invoked on com.sun.proxy.$Proxy584 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@20f20bce"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign html = journalArticleLocalSer... [in template "20115#20151#605968" at line 40, column 9] ----
1<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()>
2<#assign themeDisplay = serviceContext.getThemeDisplay() />
3<#assign url = themeDisplay.getURLPortal() + themeDisplay.getURLCurrent() />
4<#assign httpServletRequest = serviceContext.getRequest()>
5<#attempt>
6 <#assign universalIdParam = httpServletRequest.getParameter('uid') />
7<#recover>
8 <#assign universalIdParam = "" />
9</#attempt>
10
11<#assign portletRequestModel = objectUtil("com.liferay.portal.kernel.portlet.PortletRequestModel", renderRequest, renderResponse) />
12
13<#if universalIdParam?has_content >
14 <#assign universalId = universalIdParam >
15<#else>
16 <#assign universalId = "" >
17
18</#if>
19
20<#if universalId?has_content>
21<#assign expandoService = serviceLocator.findService("com.liferay.expando.kernel.service.ExpandoColumnLocalService") />
22<#assign commonUtilsApi =serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")/>
23<#assign defaultColumn = expandoService.getDefaultTableColumn(themeDisplay.getCompanyId(), "com.liferay.journal.model.JournalArticle", "universalid") >
24
25
26<#assign classLoader = staticUtil["com.liferay.portal.kernel.util.PortalClassLoaderUtil"]/>
27<#assign expandoValueClass = staticUtil["com.liferay.petra.lang.ClassResolverUtil"].resolve("com.liferay.expando.kernel.model.ExpandoValue",classLoader.getClassLoader()) >
28<#assign dynamicQueryFactory = staticUtil["com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil"] >
29<#assign dynamicQuery = dynamicQueryFactory.forClass(expandoValueClass, classLoader.getClassLoader()) >
30<#assign propertyFactory = staticUtil["com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil"]>
31<#assign VOID = dynamicQuery.add(propertyFactory.forName("tableId").eq(defaultColumn.getTableId())).add(propertyFactory.forName("data").eq(universalId))>
32<#assign results = expandoService.dynamicQuery(dynamicQuery) >
33
34<#if results?has_content>
35 <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
36
37 <#list results as result>
38 <#if result?is_last>
39 <#assign article = journalArticleLocalService.fetchArticle(result.getClassPK()) >
40 <#assign html = journalArticleLocalService.getArticleContent(article.getGroupId(),article.getArticleId(),"view", article.getDDMTemplateKey(), locale?string, portletRequestModel,themeDisplay) />
41 </#if>
42 </#list>
43
44 <div>
45 ${html}
46 </div>
47</#if>
48<#-- incluyo contenido relacionado -->
49<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") />
50<#assign AssetLinkLocalService = serviceLocator.findService("com.liferay.asset.link.service.AssetLinkLocalService") />
51
52
53<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
54<#assign journalId = .vars['reserved-article-id'].data/>
55
56<#attempt>
57<#assign article = JournalArticleLocalService.fetchArticle( groupId ,journalId) >
58<#recover>
59</#attempt>
60
61<#if article??>
62<#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" >
63<#assign articleEntry = AssetEntryLocalService.getEntry(journalArticleClassname, article.getResourcePrimKey())>
64<#assign articleRelatedEntries = AssetLinkLocalService.getDirectLinks(articleEntry.getEntryId()) >
65
66<#if articleRelatedEntries?has_content>
67
68<#assign relatedTemplateKey = "38113" >
69
70<#list articleRelatedEntries as relatedAsset>
71 <#assign relatedEntry = AssetEntryLocalService.getEntry(relatedAsset.getEntryId2()) >
72 <#assign entryClassPK = relatedEntry.getClassPK() >
73
74 <#assign journalArticleClassname = "com.liferay.journal.model.JournalArticle" >
75 <#if journalArticleClassname==relatedEntry.getClassName()>
76
77 <#assign relatedArticle = JournalArticleLocalService.fetchLatestArticle(entryClassPK) >
78 <#if relatedArticle.getDDMTemplateKey() == relatedTemplateKey >
79 <#assign relatedArticleContent = JournalArticleLocalService.getArticleContent(relatedArticle, relatedArticle.getDDMTemplateKey(), "view", locale,portletRequestModel, themeDisplay)>
80
81 <div class="bloque-cuadro">
82 <h3 class="titulo-bloque"><@liferay.language key="informacion_adicional" /></h3>
83 <#assign urlNew = commonUtilsApi.replaceUrlWithUID("${themeDisplay.getURLCurrent()}",relatedArticleContent)/>
84 <div class="col-12 pb-3" >${relatedArticleContent}</div>
85 </div>
86
87 </#if>
88 </#if>
89</#list>
90</#if>
91 <#-- Fin contenido relacionado -->
92</#if>
93</#if>
94
95
96<#if !universalId?has_content>
97 <#assign commonUtilsApi =serviceLocator.findService("com.valencia.liferay.common.utils.api.CommonUtilsApi")/>
98 <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
99 <#assign urlTotal=themeDisplay.getURLCurrent() />
100 <#assign urlSubstring=urlTotal?substring(urlTotal?last_index_of("/-/content/"), urlTotal?length)?replace("/-/content/", "") />
101 <#if (urlTotal?contains("?fbclid="))>
102 <#assign urlSubstring=urlTotal?substring(urlTotal?last_index_of("/-/content/"), urlTotal?last_index_of("?fbclid="))?replace("?fbclid=", "")?replace("/-/content/", "") />
103 <#else>
104 <#assign urlSubstring=urlTotal?substring(urlTotal?last_index_of("/-/content/"), urlTotal?length)?replace("/-/content/", "") />
105 </#if>
106 <!--urlSubstring: ${urlSubstring} -->
107 <#if journalArticleLocalService.fetchLatestArticleByUrlTitle(groupId, urlSubstring,0)??>
108 <#assign article = journalArticleLocalService.fetchLatestArticleByUrlTitle(groupId, urlSubstring,0) />
109 <#assign html = journalArticleLocalService.getArticleContent(article.getGroupId(),article.getArticleId(),"view", article.getDDMTemplateKey(), locale?string, portletRequestModel,themeDisplay) />
110 <div>
111 ${html}
112 </div>
113 </#if>
114 <#-- incluyo contenido relacionado -->
115
116 <#-- Fin contenido relacionado -->
117</#if>
118
119<style>
120
121 .bloque-cuadro{
122 border:3px solid;
123 border-color:#dadada;
124 padding-left:15px;
125 padding-right:15px;
126 margin-top:15px;
127 }
128
129 .titulo-bloque{
130 margin-top: 3%;
131 margin-bottom: 3%;
132 color:4C4C4C;
133 }
134</style>