Preguntas frecuentes

Preguntas frecuentes

Componente de búsqueda de preguntas frecuentes

Tarjetas de crédito

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Préstamos

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Banca Online

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Programa de Puntos

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Seguridad

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Glosario

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> renderRequest.getCookies()  [in template "20116#20160#43856" at line 64, column 100]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign cookies = renderRequest.getCo...  [in template "20116#20160#43856" at line 64, column 81]
----
1<script> 
2$(document).ready(function(){ 
3	$('.btn-vote').click(function(){ 
4		if(!$(this).hasClass('btn-primary')){ 
5			$(this).parent().find('.btn-vote').each(function(){ 
6				$(this).removeClass('btn-primary'); 
7				$(this).addClass('btn-default'); 
8			}); 
9			$(this).removeClass('btn-default'); 
10			$(this).addClass('btn-primary'); 
11
12	}); 
13}); 
14function rateEntry(classPK, score) { 
15    var portletInstance = "com_evo_liferay_ratings_CustomRatingsPortlet"; 
16    var ratingURL = "/ratings"; 
17    ratingURL += "?p_p_id=" + portletInstance; 
18    ratingURL += "&p_p_lifecycle=1"; 
19    ratingURL += "&p_p_state=normal"; 
20    ratingURL += "&p_p_mode=view"; 
21    ratingURL += "&p_p_state=exclusive"; 
22    ratingURL += "&_" + portletInstance + "_className=com.liferay.journal.model.JournalArticle"; 
23    ratingURL += "&_" + portletInstance + "_classPK=" + classPK; 
24    ratingURL += "&_" + portletInstance + "_score=" + score; 
25    console.log(ratingURL); 
26    $.ajax(ratingURL); 
27	 
28	//Seteamos en una cookie la opcion del usuario 
29    $.cookie(classPK, score); 
30
31</script> 
32<#if entries?has_content> 
33    <#assign categoryName = "" /> 
34    <#list portletPreferences?keys as keyProp> 
35        <#if keyProp == "queryValues0"> 
36            <#list portletPreferences[keyProp] as catId> 
37                <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
38                <#assign assetCategory = assetCategoryLocalService.getCategory(catId?number) /> 
39				<#assign categoryName = assetCategory.getName()?replace('[^\\w\\s]','','ri') /> 
40                <#assign categoryName = categoryName?replace(" ","")?lower_case /> 
41                <#break/> 
42            </#list> 
43        </#if> 
44    </#list> 
45	<section id="faq" class="dFront"> 
46		<div class="clearfix"> 
47			<div class="evo__bloquePreguntas"> 
48				<div class="panel-group evo__accordion" id="accordion_${categoryName}"> 
49					<#assign contador = 0 /> 
50					<#list entries?sort_by("priority") as curEntry> 
51						<#assign docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContent()) /> 
52						<#assign pregunta = docXml.valueOf("//dynamic-element[@name='questionFAQ']/dynamic-content/text()") /> 
53						<#assign respuesta = docXml.valueOf("//dynamic-element[@name='answerFAQ']/dynamic-content/text()") /> 
54						<div class="panel panel-default searchable<#if contador &gt; 3> hidden faq__exceso</#if>"> 
55							<div class="panel-heading"> 
56								<h3 class="panel-title title4"> 
57									<a data-toggle="collapse" data-parent="#accordion_${categoryName}" href="#collapse_${categoryName}-${contador}" class="accordion-toggle collapsed"><span class="evo__inlineBlock">${pregunta}</span></a> 
58								</h3> 
59							</div> 
60							<div id="collapse_${categoryName}-${contador}" class="panel-collapse collapse"> 
61								<div class="panel-body">${respuesta}</div> 
62								<#if (enableRatings == "true")> 
63									<div class="asset-ratings"> 
64										<#assign cookies = renderRequest.getCookies() /> 
65									    <#assign faqValue = "" /> 
66									    <#list cookies as cookie> 
67									        <#if cookie.getName()?string == curEntry.getClassPK()?string> 
68									            <#assign faqValue = cookie.getValue()?string /> 
69									            <#break> 
70									        </#if> 
71									    </#list> 
72										<span class="text-base">¿Te ha parecido útil?</span> 
73										<button class="btn btn-vote<#if faqValue == "1"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 1.0)">Sí</button> 
74		                                <button class="btn btn-vote<#if faqValue == "0"> btn-primary<#else> btn-default</#if>" type="button" onClick="rateEntry(${curEntry.getClassPK()}, 0.0)">No</button> 
75									</div> 
76								</#if> 
77							</div> 
78						</div> 
79						<#assign contador = contador + 1 /> 
80					</#list> 
81				</div> 
82				<#if contador &gt; 4><div class="evo__linkRight"><a href="javascript:void(0);" class="evo__link expand_more_faqs">Ver más preguntas frecuentes</a><i aria-hidden="true" class="fa fa-chevron-right evo__left"></i></div></#if> 
83			</div> 
84		</div> 
85	</section> 
86</#if> 

Más preguntas frecuentes