Se ha producido un error al procesar la plantilla.
Denied access to method or field getParameterNames of class org.apache.catalina.core.ApplicationHttpRequest

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #if request.getParameterNames()?seq_c...  [in template "418512#418548#28587629" at line 90, column 9]
----
1<script src="/documents/418537/35841000/datatables.min.js/7828d4c3-7551-d8c4-6c6e-ae486130d307?t=1565131731779"></script> 
2<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.css"> 
3<link rel="stylesheet" type="text/css" href="/documents/418537/35650391/DataTables_custom.css/1bcfa5ab-0d9c-2eee-92d9-28db3c6d7969?t=1565295252150"> 
4 
5<#assign curURL = themeDisplay.getURLCurrent() /> 
6<#assign dir = curURL?split('/') /> 
7<#assign url=''> 
8<#if (dir?seq_index_of('web')!=-1)> 
9    <#assign url='/web/'+dir[dir?seq_index_of('web')+1]> 
10</#if> 
11 
12<div class="contenedor" id="preguntas_frecuentes"> 
13	<div class="col-md-12 col-sm-12" id="titulo_preguntas"> 
14		<div class="icono"> 
15			<img src="${themeDisplay.getPathThemeImages()}/iconos/preguntas.png" style="margin-top: 10px;" /> 
16		</div> 
17		<h1>Preguntas Frecuentes</h1> 
18	</div> 
19	<div class="col-md-12 col-sm-12" id="filtro_preguntas"> 
20		<div class="col-md-3 col-sm-3 titulo-izquierdo" > 
21			<h1>¿Necesitas que tu búsqueda sea más especificá?</h1> 
22		</div> 
23		<div class="row col-md-9">	 
24		    <div class="col-md-4 col-sm-6 col-xs-6"> 
25				<div class="filtro"> 
26					<div class="titulo boton-efecto"> 
27						<a href="${url}/preguntas-frecuentes/-/tag/?p_r_p_resetCur=true"> 
28							<h2>Todos</h2> 
29							<div class="separador"></div> 
30						</a> 
31					</div> 
32				</div> 
33			</div> 
34		    <div class="col-md-4 col-sm-6 col-xs-6"> 
35				<div class="filtro"> 
36					<div class="titulo boton-efecto"> 
37						<a href="${url}/preguntas-frecuentes/-/tag/función pública?p_r_p_resetCur=true"> 
38							<h2>Función Pública</h2> 
39							<div class="separador"></div> 
40						</a> 
41					</div> 
42				</div> 
43			</div> 
44			<div class="col-md-4 col-sm-6 col-xs-6"> 
45				<div class="filtro"> 
46					<div class="titulo boton-efecto"> 
47						<a href="${url}/preguntas-frecuentes/-/tag/preguntas-sie?p_r_p_resetCur=true"> 
48							<h2>SIE</h2> 
49							<div class="separador"></div> 
50						</a> 
51					</div> 
52				</div> 
53			</div> 
54 
55			<div class="col-md-4 col-sm-6 col-xs-6"> 
56				<div class="filtro"> 
57					<div class="titulo boton-efecto"> 
58						<a href="${url}/preguntas-frecuentes/-/tag/mipg?p_r_p_resetCur=true"> 
59							<h2>MIPG</h2> 
60							<div class="separador"></div> 
61						</a> 
62					</div> 
63				</div> 
64			</div> 
65			<div class="col-md-4 col-sm-6 col-xs-6"> 
66				<div class="filtro"> 
67					<div class="titulo boton-efecto"> 
68						<a href="${url}/preguntas-frecuentes/-/tag/sigep?p_r_p_resetCur=true"> 
69							<h2>SIGEP</h2> 
70							<div class="separador"></div> 
71						</a> 
72					</div> 
73				</div> 
74			</div> 
75			<div class="col-md-4 col-sm-6 col-xs-6"> 
76				<div class="filtro"> 
77					<div class="titulo boton-efecto"> 
78						<a href="${url}/preguntas-frecuentes/-/tag/suit?p_r_p_resetCur=true"> 
79							<h2>SUIT</h2> 
80							<div class="separador"></div> 
81						</a> 
82					</div> 
83				</div> 
84			</div> 
85		</div> 
86	</div> 
87	<#assign mesesHash={"January":"Enero","February":"Febrero","March":"Marzo","April":"Abril","May":"Mayo","June":"Junio","July":"Julio","August":"Agosto","September":"Septiembre","October":"Octubre","November":"Noviembre","December":"Diciembre"}> 
88 
89	<#assign termino_sitio=''> 
90	<#if request.getParameterNames()?seq_contains("sitio")> 
91		<#assign termino_sitio=request.getParameterValues("sitio")[0]> 
92	</#if> 
93	<#assign i=0> 
94	<div class="col-md-12 col-sm-12" id="contenedor_preguntas"> 
95		<#if entries?has_content> 
96			<table cellpadding="0" class="table table-striped table-bordered" id="faqTable" style="width:100%; border-collapse: collapse;"> 
97				<thead><tr> 
98					<th>Pregunta</th> 
99					<th>Portal</th> 
100					<th>Fecha actualización</th> 
101					<th>Compatir</th> 
102				</tr></thead> 
103				<tbody> 
104				<#list entries as curEntry> 
105					<#assign renderer = curEntry.getAssetRenderer() /> 
106					<#assign 
107						entry = curEntry 
108						assetRenderer = entry.getAssetRenderer() 
109					/> 
110					<#assign article = renderer.getArticle() > 
111					<#assign document = saxReaderUtil.read(article.getContent()) > 
112					<#assign rootElement = document.getRootElement() > 
113					<#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='respuesta']") > 
114					<#assign respuesta = xPathSelector.selectSingleNode(rootElement).getStringValue()> 
115					 
116					<!--<#if (mesesHash[curEntry.getModifiedDate()?string["MMMM"]]??) > 
117						<#assign mes = mesesHash[curEntry.getModifiedDate()?string["MMMM"]]> 
118					<#else> 
119						<#assign mes = curEntry.getModifiedDate()?string["MMMM"]> 
120					</#if> 
121					 
122					<#assign fecha = mes+" "+ curEntry.getModifiedDate()?string["dd"]+", de "+curEntry.getModifiedDate()?string["yyyy"]>--> 
123					<#assign mostrar=false> 
124					 
125					<#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry) /> 
126					<#if assetLinkBehavior != "showFullContent"> 
127						<#assign viewURL = renderer.getURLViewInContext(renderRequest, renderResponse, viewURL) /> 
128					</#if> 
129					 
130					<#assign tags=' '> 
131					<#list curEntry.getTags() as tag> 
132						<#assign tags+=' '+tag.name> 
133						<#if tag.name?capitalize==termino_sitio?capitalize || termino_sitio==''> 
134							<#assign mostrar=true> 
135						</#if> 
136					</#list> 
137					 
138					<#if mostrar> 
139						<tr> 
140							<td><a href="${viewURL}"><h2>${curEntry.getTitleCurrentValue()}</h2></a> <@getEditIcon /> <div class="respuesta hidden">${curEntry.getTitleCurrentValue()+tags+' '+respuesta}</div></td> 
141							<td><h2 class="subtitulo">${curEntry.getTags()[0].name?capitalize}</h2></td> 
142							<td>${curEntry.getModifiedDate()?string('yyyy-MM-dd')}</td> 
143							<td><div class="redes"> 
144							    <a href="https://www.facebook.com/sharer/sharer.php?u=${viewURL}" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=600');return false;"><img src="${themeDisplay.getPathThemeImages()}/redes/facebook-circle.png" /></a> 
145								<!--<a onclick="postToFeed('${viewURL}', '${viewURL}', '${curEntry.getTitleCurrentValue()}', '${curEntry.getTitleCurrentValue()}', ''); return false;" href="javascript:;"><img src="${themeDisplay.getPathThemeImages()}/redes/facebook-circle.png" /></a>--> 
146								<a href="https://twitter.com/intent/tweet?text=${curEntry.getTitleCurrentValue()}&url=${viewURL}"><img src="${themeDisplay.getPathThemeImages()}/redes/twitter-circle.png" /></a> 
147							</div></td> 
148						</tr> 
149					</#if> 
150					<#assign i++> 
151				</#list> 
152				</tbody> 
153			</table> 
154		</#if> 
155	</div> 
156</div> 
157 
158<script type="text/javascript"> 
159	$(document).ready(function () { 
160		$('#faqTable').DataTable({ 
161			"language": { 
162				"url": "/documents/34645357/34702904/Spanish.json/035885a7-0b6f-4c06-b6fb-56e5e6a2da6c?t=1485354579566" 
163			}, 
164			"lengthMenu": [[15, 30, 50, 100], [15, 30, 50, 100]], 
165			"pageLength": 15 
166		}); 
167	}); 
168    
169	// var paginaActual=1; 
170	// var elementosPagina=5; 
171	// var botonesPaginacion=document.getElementsByClassName('page-item'); 
172	// var noPaginas=botonesPaginacion.length-1; 
173	// var respuestas=document.getElementsByClassName('respuesta'); 
174	// var preguntas=document.getElementsByClassName('pregunta'); 
175 
176	// var cambiarPagina=function(didx){ 
177	// 	paginaActual=paginaActual+didx<1||paginaActual+didx>=noPaginas?paginaActual:paginaActual+didx; 
178	// 	mostrarPagina(); 
179	// 	activarBoton(); 
180	// } 
181	// var saltarPagina=function(idx){ 
182	// 	paginaActual=idx; 
183	// 	mostrarPagina(); 
184	// 	activarBoton(); 
185	// } 
186 
187	// var mostrarPagina = function(){ 
188	// 	for (var i =0;i<preguntas.length;i++) { 
189	// 		if(!preguntas[i].className.includes('hidden'))  
190	// 			preguntas[i].className+=' hidden'; 
191	// 	} 
192	// 	var maxIdx=elementosPagina*paginaActual<preguntas.length?elementosPagina*paginaActual:preguntas.length; 
193	// 	for (var i =(paginaActual-1)*elementosPagina;i<maxIdx;i++) { 
194	// 		preguntas[i].className=preguntas[i].className.replace(' hidden',''); 
195	// 	} 
196	// } 
197 
198	// var activarBoton = function(){ 
199	// 	for (var i =0;i<botonesPaginacion.length;i++) { 
200	// 		botonesPaginacion[i].className=botonesPaginacion[i].className.replace(' active',''); 
201	// 	} 
202	// 	botonesPaginacion[paginaActual].className+=' active'; 
203	// } 
204 
205	// if (respuestas.length===0){ 
206	// 	document.getElementById("contenedor_preguntas").innerHTML="<h1> No hay resultados para el sitio '"+ ${termino_sitio} +"'</h1>"; 
207	// } 
208 
209 
210	// var inputBusqueda=document.getElementById('busqueda'); 
211	// inputBusqueda.addEventListener("keydown", function (e) { 
212	// 	if (e.keyCode === 13) {   
213	// 		buscar(); 
214	// 	} else if (e.keyCode === 27) {   
215	// 		document.getElementById('busqueda').value=''; 
216	// 	} 
217	// }); 
218	 
219	// var buscar=function(){ 
220	// 	var dominioBusqueda=respuestas; 
221	// 	var busqueda=document.getElementById('busqueda').value; 
222	// 	var noHidden=0; 
223 
224	// 	if (busqueda===''){ 
225	// 		if(document.getElementById('mensaje_error')){ 
226	// 			var el=document.getElementById('mensaje_error'); 
227	// 			el.innerText=""; 
228	// 		} 
229	// 		document.getElementById("paginacion_preguntas").className=""; 
230	// 		mostrarPagina(); 
231	// 		activarBoton(); 
232	// 		return; 
233	// 	} 
234 
235	// 	for (var i = dominioBusqueda.length - 1; i >= 0; i--) { 
236	// 		var normalizado = dominioBusqueda[i].innerText.normalize('NFD').replace(/[\u0300-\u036f]/g, "").toLowerCase(); 
237	// 		if(!normalizado.includes(busqueda.normalize('NFD').replace(/[\u0300-\u036f]/g, "").toLowerCase())){ 
238	// 			noHidden++; 
239	// 			// dominioBusqueda[i].parentElement.parentElement.removeChild(dominioBusqueda[i].parentElement); 
240	// 			if(!dominioBusqueda[i].parentElement.className.includes(" hidden")) dominioBusqueda[i].parentElement.className+=" hidden" 
241	// 		}else{ 
242	// 			dominioBusqueda[i].parentElement.className=dominioBusqueda[i].parentElement.className.replace(" hidden", ""); 
243	// 			if(document.getElementById('mensaje_error')!=null)document.getElementById('mensaje_error').remove(); 
244	// 		} 
245	// 	} 
246	// 	// console.log(noHidden==dominioBusqueda.length,noHidden,dominioBusqueda.length,document.getElementById('mensaje_error')); 
247	// 	if(noHidden==dominioBusqueda.length  && (document.getElementById('mensaje_error')==null || document.getElementById('mensaje_error').innerText==="")){ 
248	// 		if(document.getElementById('mensaje_error')){ 
249	// 			document.getElementById('mensaje_error').innerText="No hay resultados para la busqueda '"+busqueda+"'"; 
250	// 		} 
251	// 		document.getElementById("contenedor_preguntas").innerHTML+="<h1 id='mensaje_error'> No hay resultados para la busqueda '"+busqueda+"'</h1>"; 
252	// 		document.getElementById("paginacion_preguntas").className="hidden"; 
253	// 	}else{ 
254	// 		// console.log("reset"); 
255	// 		if(document.getElementById('mensaje_error')){ 
256	// 			document.getElementById('mensaje_error').innerText=""; 
257	// 		} 
258	// 		document.getElementById("paginacion_preguntas").className=""; 
259	// 	} 
260 
261	// } 
262	// var url =new URL(window.location.href); 
263	// var paramBusqueda=url.searchParams.get("busqueda"); 
264	// if(paramBusqueda){ 
265	// 	document.getElementById('busqueda').value=paramBusqueda; 
266	// 	buscar(); 
267	// } 
268	// activarBoton(); 
269	// mostrarPagina(); 
270</script> 
271<!--<style> 
272#titulo_preguntas .icono img{ 
273    margin-top: 10px; 
274
275</style>--> 
276 
277<#macro getEditIcon> 
278	<#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())> 
279		<#assign redirectURL = renderResponse.createRenderURL() /> 
280 
281		${redirectURL.setParameter("mvcPath", "/add_asset_redirect.jsp")} 
282		${redirectURL.setWindowState("pop_up")} 
283 
284		<#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" /> 
285 
286		<#if validator.isNotNull(editPortletURL)> 
287			<#assign title = 'Editar' /> 
288 
289			<@liferay_ui["icon"] 
290				cssClass="icon-monospaced visible-interaction" 
291				icon="pencil" 
292				markupView="lexicon" 
293				message=title 
294				url="javascript:Liferay.Util.openWindow({id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});" 
295			/> 
296		</#if> 
297	</#if> 
298</#macro>