Perlindungan Jiwa dan Kesehatan - Banner

Life and Health Protection
Find various types of insurance with the perfect protection solution and optimal benefits, according to the needs of you and your family

Asset Publisher

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy184.getLayout(long, boolean, long)" threw an exception when invoked on com.sun.proxy.$Proxy184 object "com.liferay.layout.change.tracking.internal.service.CTLayoutLocalServiceWrapper@372939fa"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign pageLayoutcompare = layoutLoc...  [in template "20101#20127#59178" at line 75, column 33]
----
1<section class="product-protection"> 
2                <div class="container"> 
3                    <div class="row"> 
4            <!--LOOPING--> 
5            <#if entries?has_content> 
6            <#assign no=0/> 
7                <#list entries as curEntry> 
8                <#assign no++/> 
9                 
10                    <#assign entryId = curEntry.getClassPK()/> 
11                    <#assign renderer = curEntry.getAssetRenderer()/> 
12                    <#assign className = renderer.getClassName()/> 
13                     
14                    <#if className = "com.liferay.journal.model.JournalArticle"> 
15                     
16                        <#assign journalArticle = renderer.getArticle() /> 
17                        <#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString())) /> 
18                        <#assign rootElement = document.getRootElement()/> 
19 
20                        <#assign getDisplayDate = journalArticle.getDisplayDate()/> 
21                        <#assign displayDate = dateUtil.getDate(getDisplayDate, "dd MMM yyyy", locale)/> 
22 
23                        <#if journalArticle.getExpirationDate()??> 
24                            <#assign dateExp = journalArticle.getExpirationDate()/> 
25                            <#assign displayExpDate = dateUtil.getDate(dateExp, "dd MMM yyyy", locale)/> 
26                            <#assign expiredDate =  displayExpDate/> 
27                        <#else> 
28                            <#assign expiredDate = "No Expired"/> 
29                        </#if> 
30 
31                        <#list rootElement.elements() as dynamicElement>  
32                            <#if "image" == dynamicElement.attributeValue("name")> 
33                                <#assign ImageBackground = dynamicElement.element("dynamic-content").getStringValue()/> 
34                                <#assign path_image = "/documents/"/> 
35                                <#assign image_json = jsonFactoryUtil.createJSONObject(ImageBackground)/> 
36                                <#assign image_title = image_json.getString('title') /> 
37                                <#assign image_grupid = image_json.getString('groupId') + "/" /> 
38                                <#assign image_fileEntryId = image_json.getString('fileEntryId') + "/" /> 
39                                <#assign image_name = stringUtil.replace(image_json.getString('name'), " ","%20" )/> 
40                                <#assign image_uuid = "/" + image_json.getString('uuid') + "/"/> 
41                                <#assign full_image = path_image + image_grupid + image_fileEntryId + image_name + image_uuid />  
42                            </#if> 
43                            <#if "title" == dynamicElement.attributeValue("name")> 
44                                <#assign title = dynamicElement.element("dynamic-content").getText()/>  
45                            </#if> 
46                            <#if "content" == dynamicElement.attributeValue("name")> 
47                                <#assign content = dynamicElement.element("dynamic-content").getText()/>  
48                            </#if> 
49                             
50                            <#if "isPopuler" == dynamicElement.attributeValue("name")> 
51                                 <#assign isPopuler = dynamicElement.element("dynamic-content").getText()/>  
52                            </#if> 
53                             
54                            <#if "link" == dynamicElement.attributeValue("name")> 
55                               <#assign link = dynamicElement.element("dynamic-content").getData()/> 
56                                 
57                                <#list link?split("@") as item> 
58                                    <#if item_index == 0> 
59                                        <#assign linkPageId = item?number> 
60                                    </#if> 
61                                    <#if item_index == 1> 
62                                        <#if item == "private"> 
63                                            <#assign linkPrivate = true> 
64                                        <#else> 
65                                            <#assign linkPrivate = false> 
66                                        </#if> 
67                                    </#if> 
68                                    <#if item_index = 2> 
69                                        <#assign linkGroupId = item?number> 
70                                    </#if> 
71                                </#list> 
72                 
73                                <#-- get Friendly URL --> 
74                                <#assign layoutLocalService = serviceLocator.findService('com.liferay.portal.kernel.service.LayoutLocalService')> 
75                                <#assign pageLayoutcompare = layoutLocalService.getLayout(linkGroupId, linkPrivate, linkPageId)> 
76                                <#assign linkToDetail = pageLayoutcompare.getFriendlyURL()> 
77              
78                             </#if> 
79                             
80                             
81                        </#list> 
82 
83                        <#assign directUrl = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry, true)/> 
84 
85<#if no == 1 && isPopuler == "true"> 
86        <div class="col-xs-12 col-md-8 box-populer-cover" > <!--COL 8 POPULER--> 
87            <div class="box-populer" style="background-image: url(${full_image})"> 
88                <div class="label"> 
89                    Paling Populer 
90                </div> 
91                <div class="title"> 
92                    ${title} 
93                </div> 
94                <div class="abstrak"> 
95                   ${content} 
96                </div> 
97                 
98                <a href="${linkToDetail}"> 
99                <div class="btn-lg-global orange"> 
100                    <#if locale == "en_US"> 
101                         MORE DETAIL 
102                    <#else> 
103                        SELENGKAPNYA 
104                    </#if> 
105                </div> 
106                </a> 
107            </div> 
108        </div> 
109         
110<#else> 
111        <div class="col-xs-6 col-md-4"><!--COL 4 NOT POPULER--> 
112            <div class="box-nopopuler"> 
113                <div class="image"> 
114                   <img src="${full_image}" class="img-fluid"> 
115                </div> 
116                <div class="title"> 
117                     ${title} 
118                </div> 
119                <div data-toggle="tooltip-pp"title="${content}"  class="abstrak"> 
120                ${content} 
121                </div> 
122                <a href="${linkToDetail}"> 
123                <div class="btn-lg-global orange"> 
124                    <#if locale == "en_US"> 
125                         MORE DETAIL 
126                    <#else> 
127                        SELENGKAPNYA 
128                    </#if> 
129                </div> 
130                </a> 
131            </div> 
132        </div> 
133</#if> 
134         <!--End Loopping--> 
135 
136                    </#if>         
137                </#list>     
138            </#if> 
139            <!--LOOPING--> 
140        </div> 
141 
142</div> 
143</section> 
144<script> 
145$(document).ready(function(){ 
146  $('[data-toggle="tooltip-pp"]').tooltip();    
147}); 
148</script> 

Bandingkan Produk Footer

COMPARE OUR PRODUCTS
Compare different types of insurance with their advantages and benefits, and choose the one that suits you and your family the most