Web-sisällön esitys

My Documents

Web-sisällön esitys

Bank Statement and Patriot Act

#set ($userCompanyId = $request.portlet-session.application-attributes.companyId.toString()) #foreach($i in $item_text.getSiblings()) #set ($companyIds = '') #set ($companyIds = $i.item_companies.getData()) #set ($itemDisplay = false) #set ($prodDisplay = 2) #set ($prodDisplay = $i.item_product_display.getData()) #set ($prod = '|0|') #set ($prod = '|' + $i.item_product.getData() + '|' ) #if ($prod == '|0|' || $prod == '||') #set ($itemDisplay = true) #else #if ($prodDisplay == 2 && $request.portlet-session.application-attributes.offeredProducts.contains($prod)) #set ($itemDisplay = true) #end #if ($prodDisplay == 1 && $request.portlet-session.application-attributes.offeredProducts.contains($prod) && $request.portlet-session.application-attributes.enrolledProducts.contains($prod)) #set ($bannerDisplay = true) #end #if ($prodDisplay == 0 && $request.portlet-session.application-attributes.offeredProducts.contains($prod) && !$request.portlet-session.application-attributes.enrolledProducts.contains($prod)) #set ($bannerDisplay = true) #end #end #set ($companyIgnored = true) #set ($companyMatched = false) #if ($itemDisplay) #foreach($companyId in $companyIds.split(",")) #set ($trimmedId = $companyId.trim()) #if ($trimmedId != '') #set ($companyIgnored = false) #set ($companyMatched = ($companyMatched || ($trimmedId == $userCompanyId))) #end #end #end #if ($itemDisplay && ($companyIgnored || $companyMatched))
$i.getData()
#end #end
Web-sisällön esitys

Apply for Your Personalized Reloadable Card

Select your preferred Kroger Family of Stores location to begin the application process. 

Web-sisällön esitys

Brand Images

Virhe tapahtui prosessoidessa esitysmallia.
The following has evaluated to null or missing:
==> vertical  [in template "20116#20152#HYPERLINK-IMAGES-TEMPLATE-7.0.0.1" at line 10, column 20]

----
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: ${vertical}  [in template "20116#20152#HYPERLINK-IMAGES-TEMPLATE-7.0.0.1" at line 10, column 18]
----
1#set ($Integer = 0 ) 
2#set ($width = 100 / $Integer.parseInt($columns.getData())) 
3#set ($vertical = $vertical_padding.getData()) 
4#if ($vertical == '') 
5	#set ($vertical = 10) 
6#end 
7 
8<style> 
9.image-container { 
10    padding-top: ${vertical}px; 
11    padding-bottom: ${vertical}px; 
12
13.image-item { 
14	float: left; 
15    width: ${width}%; 
16    padding-top: ${vertical}px; 
17    padding-bottom: ${vertical}px; 
18    text-align: center; 
19
20</style> 
21 
22<div class="image-container"> 
23#foreach($img in $image.getSiblings()) 
24	<div class="image-item"> 
25		<a href="$img.hyperlink.getData()"> 
26			<img src="$img.getData()"/> 
27		</a> 
28	</div> 
29#end 
30<div style="clear:both;"></div> 
31</div> 
Web-sisällön esitys

PP