IndiaFirst Group Life Insurance Policy

Securing lives, creating values
Everybody wins with our ‘Solutions for Groups’.

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy702.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy702 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@4ecfd266"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign webContentArticle = journalAr...  [in template "20099#20135#353505" in macro "getWebContentByName" at line 55, column 17]
	- Reached through: @getWebContentByName webContentData.t...  [in template "20099#20135#353505" at line 36, column 53]
----
1<div class="ifl-group-landing"> 
2	<div class="ifl-contentMaster" id="why-choose-us"> 
3		<div class="ifl-container"> 
4			 
5					<#if content_title.getData()?has_content> 
6					 <div class="ifl-row border-bottom"> 
7						<h2>${content_title.getData()}  
8							<#if content_title.content_subtitle.getData()?has_content> 
9							<span>${content_title.content_subtitle.getData()}</span> 
10							</#if> 
11						</h2> 
12						 <ul class="ifl-tabs" rel="#wcu_tab"> 
13							<#if tab_name.getSiblings()?has_content> 
14								<#list tab_name.getSiblings() as cur_tab_name> 
15								<li class=""> 
16									<a href="javascript:;">${cur_tab_name.getData()} 
17									</a> 
18								</li> 
19								</#list> 
20							</#if> 
21							 
22						  </ul> 
23						</div><#--ifl-row border-bottom--> 
24					</#if> 
25								    
26							 
27				<!--web content area --> 
28				 <div class="ifl-row ifl-tabs-content-master" id="wcu_tab"> 
29					<#if tab_name.getSiblings()?has_content> 
30						<#list tab_name.getSiblings() as cur_tab_name> 
31							 <#assign 
32							webContentData = jsonFactoryUtil.createJSONObject(cur_tab_name.tab_content.getData()) 
33						/> 
34					   <#--${webContentData.title}--> 
35
36						    <@getWebContentByName webContentData.title /> 
37						 
38						</#list> 
39					</#if> 
40				</div>  <#--ifl-row ifl-tabs-content-master--> 
41						 
42						 
43 
44 
45		</div><#--ifl-container--> 
46	</div><#--ifl-contentMaster--> 
47</div> 
48 
49<#macro getWebContentByName webContentTitle=""> 
50	<#if webContentTitle?? && webContentTitle?has_content> 
51	<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
52	<#assign group_id=themeDisplay.getScopeGroupId() /> 
53		<#-- IFL web content titles are of the following form: "web_content_url_title"--> 
54		<#assign webContentUrlTitle = stringUtil.replace(stringUtil.lowerCase(webContentTitle), ' ', '-') /> 
55		<#assign 
56			webContentArticle = journalArticleLocalService.getArticleByUrlTitle(group_id, webContentUrlTitle) /> 
57		<#if webContentArticle??> 
58			<#assign 
59				webContentDisplay = journalArticleLocalService.getArticleDisplay(group_id, webContentArticle.getArticleId(), webContentArticle.getDDMTemplateKey(), 
60					"VIEW",themeDisplay.getLanguageId(), themeDisplay) /> 
61		</#if> 
62		<#if webContentDisplay?? && webContentDisplay?has_content> 
63			${webContentDisplay.getContent()} 
64		</#if> 
65	</#if> 
66</#macro> 
67 
68 
69 
70<script> 
71$(document).ready(function(){var a=themeDisplay.getLayoutURL().substring(themeDisplay.getLayoutURL().lastIndexOf("/"));if(a=="/term-plan"||a=="/ulip-plan"||a=="/retirement-plan"||a=="/traditional-plan"||a=="/micro-insurance"){$("#why-choose-us").attr("class","ifl-contentMaster ifl-grey-bg")}}); 
72</script>