An error occurred while processing the template.
The following has evaluated to null or missing: ==> request.getParameter("idBusLine") [in template "2861328#2861374#39064" at line 10, column 38] ---- Tip: If the failing expression is known to 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 idBusLine = request.getParame... [in template "2861328#2861374#39064" at line 10, column 17] ----
1<#assign request = renderRequest.getOriginalHttpServletRequest() />
2
3<div class="container single-lines">
4 <div class="row">
5
6 <div class="col-md-12 col-lg-7">
7 <div class="container info-line-detail">
8 <div class="map-button hidden" id="mapButtonCopy">
9 <#if lineName.getSiblings()?has_content>
10 <#assign idBusLine = request.getParameter("idBusLine") />
11
12 <#list lineName.getSiblings() as cur_lineName>
13 <#if cur_lineName.getData() == idBusLine >
14 <a target="_blank" href="${cur_lineName.pdf.getData()}"
15 class="btn btn-outline-dark btn-download btn-lg">
16 Descargar PDF
17 </a>
18 </#if>
19 </#list>
20 </#if>
21
22 </div>
23 </div>
24 </div>
25 </div>
26</div>
27
28<script>
29
30Liferay.on('allPortletsReady', function (){
31 if( $(".col-mapa").length >0 ){
32 $("#mapButtonCopy").appendTo(".col-mapa");
33 }
34
35});
36
37
38</script>