HTML Example 2333

Vinisha good morning 1233343

Fragment Heading Text 3434433

Fel uppstod under bearbetning av mallen.
The following has evaluated to null or missing:
==> propsUtil.get(mobileUrlKey)  [in template "20115#20151#T-HAYS-FEATURED-JOBS-WEB2" at line 16, column 28]

----
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 mobileUrlKey_val = propsUtil...  [in template "20115#20151#T-HAYS-FEATURED-JOBS-WEB2" at line 16, column 1]
----
1<div class="bg-primary py-14"> 
2 
3<div class="d-flex justify-content-between align-items-end container-content flex-wrap pb-12"> 
4	<#if (FeaturedJobsTitle.getData())??> 
5	 <h2 class="text-uppercase font-weight-light text-white mb-0 mb-md-5 section-heading"> 
6					${FeaturedJobsTitle.getData()} 
7					</h2> 
8	</#if> 
9</div> 
10<#assign langId = themeDisplay.getLanguageId() /> 
11<#assign ucmLocaleKey = themeDisplay.getLocale()+"."+siteType+"."+"ucmLocale"> 
12<#assign ucmLocaleKey_val =propsUtil.get(ucmLocaleKey)> 
13<#assign  currency = staticUtil["java.util.Currency"]> 
14<#assign mobileUrlKey = themeDisplay.getLocale()+"."+siteType+"."+"WEB2_Mobile_Hostname"> 
15<#assign detailKey = themeDisplay.getLocale()+"."+siteType+"."+"WEB2_JobDetail"> 
16<#assign mobileUrlKey_val =propsUtil.get(mobileUrlKey)> 
17<#assign detailKey_Url =propsUtil.get(detailKey)> 
18<#assign mobilePortalUrlKey_val =propsUtil.get(mobileUrlKey) !""> 
19 <#assign HaysJobsLocalService = serviceLocator.findService("com.hays.jobs.service.HaysJobsService")> 
20    <#assign nodeId = HaysJobsLocalService.getSponsoredJobs("","4", ucmLocaleKey_val)> 
21   <div class="carousel"> 
22    <ul class="container-content grid grid-4 grid-gap-16 grid-gap-lg-32 grid-lg-4"> 
23	 <#if !nodeId.getJSONObject("result").isNull("jobs")> 
24 	 <#assign   resultJobs = nodeId.getJSONObject("result").getJSONArray("jobs")> 
25	  
26	 	<#assign   resultJson = nodeId.getJSONObject("result").getJSONArray("jobs").length()>			    
27												    
28		<#assign x=1> 
29 
30		<#if (4 < resultJson)> 
31		<#assign x=4> 
32		<#elseif ( 4 > resultJson )> 
33		<#assign x=resultJson> 
34		</#if> 
35  
36	<#list 0..x-1 as i> 
37	     <#assign jobFriendlyUrl = "" /> 
38       <#assign jobCardSalaryDescription = ""/> 
39 
40			<#if resultJobs.getJSONObject(i).has("nonFilterableCustomFields")> 
41				<#if resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").has("xSalaryDescription")> 
42					<#assign jobCardSalaryDescription = resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").getJSONObject("xSalaryDescription").getJSONArray("values")?replace("\"", "")?replace("]", "")?replace("[", "")/> 
43				</#if> 
44			</#if> 
45		   	  
46		   <li class="carousel-slide"> 
47            <a class="job-card job-card job-card--grid is-active rounded-lg border border-borders pt-7 pb-8 pt-lg-8 pb-lg-7 px-6"> 
48                <h3  class="fs-500 fs-lg-600 font-weight-bold mb-5 mb-lg-8"> 
49                    ${resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").getJSONObject("JobTitle").getJSONArray("values")?replace("\"", "")?replace("]", "")?replace("[", "")} 
50                </h3> 
51                <ul class="font-weight-light mb-4 mb-lg-4 fs-400 fs-lg-400"> 
52                    <li class="d-flex mb-4 mb-lg-1"> 
53										<div class="mr-3 mr-lg-5"> 
54                        <svg class="feather-icon"> 
55                            <path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path> 
56            								<circle cx="12" cy="10" r="3"></circle> 
57                        </svg> 
58												</div> 
59												<span  class="job-card-label font-weight-normal"> 
60														${resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").getJSONObject("xLocationDescription").getJSONArray("values")?replace("\"", "")?replace("]", "")?replace("[", "")} 
61												</span> 
62                    </li> 
63                    <li class="d-flex align-items-start"> 
64                        <div class="group-center mr-3 mr-lg-5"> 
65                            <svg class="feather-icon"> 
66                                <circle cx="12" cy="12" r="10"></circle> 
67                            </svg> 
68                           <span><#if langId == "en_AE" || langId == "en_CZ" || langId == "en_PL"> 
69								<svg class="feather-icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" style="width:13px;height:13px"> 
70										<path d="M13 5C13 6.10457 10.5376 7 7.5 7C4.46243 7 2 6.10457 2 5M13 5C13 3.89543 10.5376 3 7.5 3C4.46243 3 2 3.89543 2 5M13 5V9.45715C11.7785 9.82398 11 10.3789 11 11M2 5V17C2 18.1046 4.46243 19 7.5 19C8.82963 19 10.0491 18.8284 11 18.5429V11M2 9C2 10.1046 4.46243 11 7.5 11C8.82963 11 10.0491 10.8284 11 10.5429M2 13C2 14.1046 4.46243 15 7.5 15C8.82963 15 10.0491 14.8284 11 14.5429M22 11C22 12.1046 19.5376 13 16.5 13C13.4624 13 11 12.1046 11 11M22 11C22 9.89543 19.5376 9 16.5 9C13.4624 9 11 9.89543 11 11M22 11V19C22 20.1046 19.5376 21 16.5 21C13.4624 21 11 20.1046 11 19V11M22 15C22 16.1046 19.5376 17 16.5 17C13.4624 17 11 16.1046 11 15" stroke="" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> 
71									</svg> 
72								<#else> 
73								${currency.getInstance(themeDisplay.getLocale()).getSymbol(themeDisplay.getLocale())} 
74								</#if> 
75	</span> 
76                        </div> 
77                         <span  class="job-card-label font-weight-normal"> 
78												 		${jobCardSalaryDescription?replace("\\\\u(....)", "&#x$1;", "r")} 
79												 </span> 
80                    </li> 
81                </ul> 
82								 
83							<#if resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").has("xLocaleRecordID")> 
84			          <#assign url = resultJobs.getJSONObject(i).getJSONObject("nonFilterableCustomFields").getJSONObject("xLocaleRecordID").getJSONArray("values")?replace("\"", "")?replace("]", "")?replace("[", "")/> 
85			          <#assign jobUrl = url?keep_after("//")?keep_after("/") /> 
86			          <#assign jobFriendlyUrl = mobilePortalUrlKey_val + "/" + jobUrl + "?jobSource=HaysGCJ" /> 
87		          </#if> 
88								 
89								<div class="job-card__action"> 
90								<button class="button button--small button--small-border-radius button--white button--arrow" type="button" onClick="location.href='${jobFriendlyUrl}'">View Details</button> 
91								</div> 
92            </a> 
93        </li> 
94		     
95 	</#list> 
96		</#if> 
97		</ul> 
98		</div> 
99		</div>