商品說明書-內容 - 法國巴黎人壽

default_wc_01

a211_wc_01

商品專區

巢狀應用程式

a211_01_wc_02

投資型保險列表

處理範本時發生錯誤。
The following has evaluated to null or missing:
==> request.getParameter("contentId")  [in template "46722#46768#474646" at line 1, column 22]

----
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 contentId = request.getParame...  [in template "46722#46768#474646" at line 1, column 1]
----
1<#assign contentId = request.getParameter("contentId") /> 
2 
3<#if mainProductName.getSiblings()?has_content> 
4	<#list mainProductName.getSiblings() as column> 
5		<#if column.hashCode()?c == contentId> 
6			<#assign targetColumn = column /> 
7			<#break> 
8		</#if> 
9	</#list> 
10</#if> 
11 
12<div class="cardif-tw-layout-vie10-2-container cardif-tw-content2 "> 
13	<ul class="list-two-icon space-element-top-little"> 
14	    <#if targetColumn.productItemName.getSiblings()?has_content> 
15        	<#list targetColumn.productItemName.getSiblings() as cur_subProductName> 
16        	    <li> 
17										<#assign docUrl = "${cur_subProductName.productItemPdfUrl.getData()}" /> 
18										<#assign keyWordIndex = docUrl?index_of(".pdf") /> 
19										<#assign docUrl = docUrl?substring(0, keyWordIndex + 4) + "#zoom=150" /> 
20                   <a href="${docUrl}"> 
21                        <i class="ico-list-front"><img src="${icon_download_left.getData()}" alt=""></i> 
22                            <span class="list-text"> 
23                                ${cur_subProductName.getData()} 
24                            </span> 
25                        <i class="ico-list-back" href="#"><img src="${icon_download_right.getData()}" alt=""></i> 
26                    </a> 
27               </li> 
28        	</#list> 
29        </#if> 
30	</ul> 
31</div> 

default_wc_03